Skip to content

Commit ddae047

Browse files
committed
code set alarm
1 parent 99a1af9 commit ddae047

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Sprint-3/alarmclock/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<link rel="stylesheet" href="style.css" />
7-
<title>Title here</title>
7+
<title>Alarm clock app</title>
88
</head>
99
<body>
1010
<div class="centre">

Sprint-3/alarmclock/readme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
In this folder you will find the basic setup of an alarm clock.
44

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"
67
You will need to write your implementation in `alarmclock.js`.
78

89
## How the clock should work
910

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`.
1113

1214
Every one second the title should count down by one.
1315

@@ -29,4 +31,6 @@ If you have time and want to do more why not try
2931

3032
- Make the background change color when the alarm clock finishes
3133
- 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
35+
and then you restart it later?
36+

0 commit comments

Comments
 (0)