London | 26-ITP-Jan | Oussama Mouggal | Sprint 3 | Quote generator app#991
London | 26-ITP-Jan | Oussama Mouggal | Sprint 3 | Quote generator app#991Oussama-Mouggal wants to merge 6 commits intoCodeYourFuture:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
A-O-Emmanuel
left a comment
There was a problem hiding this comment.
Your app works, but when i tick the auto play box, it does not work. Also consider adding comments to your code, not necessarily line by line, but when you have a function a comment explaining what the function does is good practice.
|
Thanks for the feedback. I fixed autoplay so when the checkbox is turned ON it immediately shows a new quote and continues rotating every 60 seconds. I also updated the quote selection to avoid consecutive duplicate quotes, which could make autoplay look inactive. Additionally, I added function-level comments in quotes.js to improve readability and maintainability. Thanks very much |
…autoplay functionality
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |
Self checklist
Changelist
I changed the project title
I added a function to display a random quote and author on every refresh
Changed Css to match the exercise layout
Stretch: added an auto play button