You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-3/alarmclock/readme.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,14 @@
2
2
3
3
In this folder you will find the basic setup of an alarm clock.
4
4
5
-
First off, once you've branched off `main`, then update the title element in `index.html` to "Alarm clock app"
5
+
First off, once you've branched off `main`, then update the title element
6
+
in `index.html` to "Alarm clock app"
6
7
You will need to write your implementation in `alarmclock.js`.
7
8
8
9
## How the clock should work
9
10
10
-
When you click the `Set Alarm` button the counter at the top of the screen should change to the number you entered in the `input` field. For example, if the `input` field says `10` then the title should say `Time Remaining: 00:10`.
11
+
When you click the `Set Alarm` button the counter at the top of the screen should change to the number you entered in the `input` field. For example, if the `input` field says `10` then
12
+
the title should say `Time Remaining: 00:10`.
11
13
12
14
Every one second the title should count down by one.
13
15
@@ -29,4 +31,6 @@ If you have time and want to do more why not try
29
31
30
32
- Make the background change color when the alarm clock finishes
31
33
- Try making the background flash!
32
-
- Could you add `pause` functionality so that the count down stops and then you restart it later?
34
+
- Could you add `pause` functionality so that the count down stops
0 commit comments