-
-
Notifications
You must be signed in to change notification settings - Fork 155
WESTMIDLANDS | ITP-MAY2025 | Peter Lui | Sprint3 Alarm Clock #738
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
Good work on this Peter! The jest tests all pass and manual checks work well...I noticed a minor bug though. The alarm seems to take a extra second to go off after it reaches 00:00? Pls. check I like how you have broken out the logic into functions and also your comments, making it much easier to read! Reg. the pad function - You could also do this with |
fixed alarm delay
Thanks John! I have updated the code to check the timer first - that should fix the delay. Have a great day! |
Did you try rerunning the tests ( |
@arun-john Thank you for noticing. I have fixed and tested again and it works now. |
Great, all working now! 👍 |
Learners, PR Template
Self checklist
Changelist
Initial submission of Alarm Clock and updated index.html
Questions
Ask any questions you have for your reviewer.