-
-
Notifications
You must be signed in to change notification settings - Fork 94
WESTMIDLANDS-ITP|SEGUN FOLAYAN|DATA-GROUPS|ALARMCLOCK #493
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?
WESTMIDLANDS-ITP|SEGUN FOLAYAN|DATA-GROUPS|ALARMCLOCK #493
Conversation
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.
You missed updating index.html
according to an instruction in readme.md
.
When the user clicks "Stop Alarm", the background is not reset to its initial color.
Otherwise, the code is working good.
Feel free to mark this PR as "Complete" after you have made the necessary changes based on my feedback.
Sprint-3/alarmclock/alarmclock.js
Outdated
if (isNaN(timeLeft) || timeLeft < 0) { | ||
alert("Please enter a valid positive number for the alarm time (in seconds)."); | ||
return; | ||
} |
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.
0 is not a positive number.
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.
I will update with corrections. Thanks.
Learners, PR Template
Self checklist
Changelist
PR for Sprint-3 Alarm Clock
Questions
Ask any questions you have for your reviewer.