-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (61 loc) · 1.97 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="dist/script.js" defer></script>
<link rel="stylesheet" href="dist/styles.css">
<title>digital</title>
</head>
<body>
<!-- clock -->
<div class="clock">
<div class="topbar">
<div class="days">
<p id="days">Mon</p>
<p id="days">Tue</p>
<p id="days">Wed</p>
<p id="days">Thu</p>
<p id="days">Fri</p>
<p id="days">Sat</p>
<p id="days">Sun</p>
</div>
<div><span id="month"></span></div>
</div>
<div class="digital">
<p id="digital"></p>
</div>
<div class="alarm">
<input type="time" min="00:00" max="23:59" id="time">
<button id="alarmSet">set alarm</button>
</div>
</div>
<!-- cronometer -->
<div class="crono">
<div class="starting-time">
<p id="starting-time">00 : 00 : 00</p>
</div>
<div class="start-stop">
<button id="start">start</button>
<button id="stop">---</button>
<button id="restart">---</button>
</div>
</div>
<!-- timer -->
<div class="timer">
<div class="timer-set">
<p id="timer">00 : 00 : 00</p>
</div>
<div class="time-opt">
<input type="number" min="0" max="99" required>
<input type="number" min="0" max="59" required>
<input type="number" min="0" max="59" required>
</div>
<div class="timer-actions">
<button id="start-timer">start</button>
<button id="stop-timer">---</button>
<button id="restart-timer">---</button>
</div>
</div>
</body>
</html>