-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (55 loc) · 2.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html lang="en">
<!-- Name : KAMAL MAAN
Email id : [email protected] -->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="index.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALARM CLOCK CODING NINJAS</title>
</head>
<body>
<div class="center">
<h1 class="title"> 🥷NINJA ALARM⏰</h3> <!-- or we can use any alarm pic instead of emojies,i am using emojies to make it simple -->
<div>
<!-- Display the REAL time -->
<h2 id="realtime">Getting the real time</h2>
<!-- Select time of the alarm to be set(for new alarm) -->
<div class="alarmtimebody">
<label>
<div>
<select class="time" id="hr"></select>
</div>
</label>
<label>
<div>
<select class="time" id="min"></select>
</div>
</label>
<label>
<div>
<select class="time" id="sec"></select>
</div>
</label>
<label>
<div>
<select class="time" id="ampm"></select>
</div>
</label>
</div>
</div>
<!-- Add new alarm, it will also add it to the recent list of alarm -->
<button id="setButton">Set Alarm</button>
<!-- Clear button to stop the alarm sound after it starts ringing -->
<button id="setClear">Clear Alarm</button>
<div>
<h3 class="allalarms">Recent Alarms</h3>
<hr>
<!-- Here will be the list of all recent alarm set by the user -->
<ul id="incomplete-alarms">
</ul>
</div>
</div>
<script src="index.js"></script>
</body>
</html>