Sheffield | 26-ITP-Jan | Seti Mussa | Sprint 3 | Alarm Clock#1178
Sheffield | 26-ITP-Jan | Seti Mussa | Sprint 3 | Alarm Clock#1178Seti-Jemal 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.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cjyuan
left a comment
There was a problem hiding this comment.
-
Given a countdown is still active, when the users click the "Set Alarm" button with input equals to 0, then what do you expect the app to behave?
-
While a countdown is active, does the timer display look normal to you?
Note: We should respect instructions like DO NOT EDIT BELOW HERE; it is usually there for a reason. If you are curious about why, you can ask AI Why should programmers respect "DO NOT EDIT BELOW HERE" instruction in a file? (You have made some major changes to the original code, so don't worry about that this time).
|
No new commits on this branch on GitHub yet. |
| timeRemaining = 0; | ||
| updateDisplay(timeRemaining); |
There was a problem hiding this comment.
When the condition at line 54 becomes true, what value is timeRemaining?
Is there any need to perform the tasks on line 58-59?
There was a problem hiding this comment.
No, those lines are not needed because timeRemaining is already on 0.
There was a problem hiding this comment.
If they are not needed, why not remove them?
Self checklist
Changelist
I have completed sprint 3 alarm clock.