-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (43 loc) · 1.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stopwatch</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<script src="app.js"></script>
</head>
<body>
<h1>
STOPWATCH
</h1>
<table cellpadding=5>
<tr>
<td>
<h1 class="label" id="hr">00</h1>
<p>Hours</p>
</td>
<td>
<h1 class="label" id="min">00</h1>
<p>Minutes</p>
</td>
<td>
<h1 class="label" id="sec">00</h1>
<p>Seconds</p>
</td>
</tr>
<tr>
<td>
<button onclick="reset()" id="reset">Reset</button>
</td>
<td>
<button onclick="stop()" id="stop">Stop</button>
</td>
<td>
<button onclick="start()" id="start">Start</button>
</td>
</tr>
</table>
</body>
</html>