London | 26-ITP-JAN | Shuheda Begum | Sprint 3 | Quote Generator#1011
London | 26-ITP-JAN | Shuheda Begum | Sprint 3 | Quote Generator#1011codebyshay wants to merge 6 commits intoCodeYourFuture:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
5 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Luro91
left a comment
There was a problem hiding this comment.
A note on commit messages. It's hard to know for me what happens in a commit if the message is not descriptive. A commit should describe what changed in the code. It's also good practice to split commits into logical blocks (for example for each task). This makes it easier to understand and additionally the commits could also be undone more easily if needed.
I like this article about commit messages: https://chris.beams.io/git-commit
| //CREATE PR | ||
|
|
||
|
|
There was a problem hiding this comment.
I understand. Noted.
The //CREATE PR was something I typed to make a tiny change so I could create a PR and test my commit was being translated back to my github. I'm a newbie to coding and I've had issues with this in the past. I should have deleted it.
There was a problem hiding this comment.
I understand. It's good practice to remove code comments and debug statements that were used during the development. I usually do a self review of my own pull request to spot such leftover code.
Please remove it as it's not needed anymore
| if (autoplayToggle.checked) { | ||
| // Switch is ON | ||
| autoplayStatus.innerText = "auto-play: ON"; | ||
| timerId = setInterval(updateQuote, 5000); |
There was a problem hiding this comment.
Nice implementation of the stretch task.
The tasks says the time until the quote switches should be 60s
There was a problem hiding this comment.
Noted, thank you.
Code updated :)
Thank you 😊 |
Learners, PR Template
Self checklist
Changelist
Created quote generator.
Questions
No questions