GLASGOW | Jan-26-ITP | Prakash Dcosta | Sprint 3 | Quote Generator#1107
GLASGOW | Jan-26-ITP | Prakash Dcosta | Sprint 3 | Quote Generator#1107dcostaprakash wants to merge 2 commits intoCodeYourFuture:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
| <h1>Your Quote for the day</h1> | ||
| <div class="quote-container"> | ||
| <p id="quote"></p> | ||
| <p id="author"></p> | ||
| <button type="button" id="new-quote">New quote</button> | ||
| </div> |
There was a problem hiding this comment.
How could you make it more clear what HTML elements are nested inside the new divs?
There was a problem hiding this comment.
Got it. I can add comments and i can make it visually better. I have modified it. Thank you
There was a problem hiding this comment.
I was referring to code indentation. With the correct indentation the comments are not needed. indentation is a standard that makes it easy to see visually which elements are on which hierarchy. Tools like the IDE also allow code folding based on indentation
There was a problem hiding this comment.
An advanced topic regarding UX:
At the moment the boxes containing quotes have various sizes depending on the text. This also leads to the button changing the position. (it would be nice if the button would stay in position and the user would not have to move the mouse to click it again).
How could you accomplish this?
There was a problem hiding this comment.
Understood. I made the following changes to incorporate it. I increased the quote-container height and max-width, made the display to flex and further the quote-text i made it to overflow with minimum heing 0 so that it can scroll and not disturb the button. Thanks
|
I only now noticed your commit messages. When I read the commit messages I don't know what the change was. I recommend reading this article on commit messages: https://chris.beams.io/git-commit |


Changelist
I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
My changes meet the requirements of the task
I have tested my changes
My changes follow the style guide
my coursework