-
Notifications
You must be signed in to change notification settings - Fork 0
/
stopwatch.html
46 lines (45 loc) · 1.83 KB
/
stopwatch.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stop Watch</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous" />
<link rel="stylesheet" href="stopwatch.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap" rel="stylesheet">
</head>
<body>
<nav>
<a href="index.html"><img src="TIMEVERSE.png" alt="" srcset="" id="image"></a>
<div class="mid">
<li><a href="index.html">Analog</a></li>
<li><a href="stopwatch.html">Stop Watch</a></li>
<li><a href="world_clock.html"> World Clock</a></li>
<li><a href="alarm.html"> Alarm Clock</a></li>
</div>
</nav>
<div class="stopwatch">
<div id="dial">
<h1>Stop Watch</h1>
<!-- <h2 id="timer">00:00:00</h2> -->
<div class="a">
<div id="m">00</div>
<div>:</div>
<div id="s">00</div>
<div>:</div>
<div id="ms">00</div>
</div>
<div class="buttons">
<button id="start" class="btn" style="--clr:green">Start</button>
<button id="pause" class="btn" style="--clr:red">Pause</button>
<button id="reset" class="btn" style="--clr:blue">Reset</button>
</div>
</div>
</div>
<script src="stopwatch.js"></script>
</body>
</html>