-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (47 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stopwatch</title>
<!-- Include bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
crossorigin="anonymous"
/>
<!-- Include my styleSheet -->
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<!-- title -->
<h1 class="title">Stopwatch</h1>
<div class="container d-flex flex-column text-light align-items-center">
<!-- display countDown -->
<div class="count-down mt-2">
<div class="display">00:00:00</div>
</div>
<!-- all three buttons start stop reset -->
<div class="buttons d-flex text-white">
<button id="start" type="button" class="btn btn-light btn-lg m-4 px-4">
Start
</button>
<button id="stop" type="button" class="btn btn-light btn-lg m-4 px-4">
Stop
</button>
<button id="reset" type="button" class="btn btn-light m-4 px-4">
Reset
</button>
</div>
</div>
<!-- Include bootstrap script -->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"
></script>
<!-- Include JavaScript file -->
<script src="script.js"></script>
</body>
</html>