-
Notifications
You must be signed in to change notification settings - Fork 75
base will run timers and stop timers - with errors #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
michelle-mok
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work using setInterval and organising your code into functions!
consider using more comments to make your code easier to follow for the reader
| <span class="word" id="elapsed">Time Elapsed: </span> | ||
| <div class="row"> | ||
| <span class="word" id="time-left">Time Left: </span> | ||
| </div> | ||
| <div class="row"> | ||
| <span class="word" id="start">Start</span> | ||
| <span class="word" id="stop"></span> | ||
| <span class="word" id="reset"></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should be created is script.js using DOM
| let cardColor; | ||
| if (currentSymbol === '♥️' || currentSymbol === '♦️') { | ||
| cardColor = 'red'; | ||
| } else { | ||
| cardColor = 'black'; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this used in your code?
Please fill out the survey before submitting the pull request. Thanks!
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀
How many hours did you spend on this assignment? 7
Please fill in one error and/or error message you received while working on this assignment.
What part of the assignment did you spend the most time on?
Comfort Level (1-5): 2
Completeness Level (1-5): 1
What did you think of this deliverable? challenging
Is there anything in this code that you feel pleased about? the countdown + elapsed timer, but it's not completely working