-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (35 loc) · 1.43 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
<!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 rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />
<link rel="icon" href="images/favicon.png">
</head>
<body>
<div class="main">
<div class="img">
<h1>Stopwatch</h1>
<img src="images/Stopwatchjpg-removebg-preview.png" alt="Stopwatch">
</div>
<!-- ----------timer---------- -->
<div class="timer">
<span class="time" id="hr"> 00 </span>
<span class="text"> hr   :</span>
<span class="time" id="min">   00 </span>
<span class="text"> min  :</span>
<span class="time" id="sec">   00 </span>
<span class="text"> sec  :</span>
<span class="time" id="count">   00 </span>
</div>
<div class="button">
<button id="start" onclick="start()">Start</button>
<button id="stop" onclick="stop()">Stop</button>
<button id="reset" onclick="reset()">Reset</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>