-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (60 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Time Application</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./styles/index.css" />
<script src="./src/script.js"></script>
</head>
<body>
<div class="timeContainer">
<div class="displayTime">
<svg>
<circle
class="defaultCircle"
cx="125"
cy="125"
r="120"
stroke="#ff88fb"
stroke-width="10"
fill="none"
stroke-linecap="round"
/>
<circle
id="animateCircle"
cx="125"
cy="125"
r="120"
stroke="#d459cb"
stroke-width="10"
fill="none"
stroke-linecap="round"
/>
</svg>
<div class="spanDiv">
<span class="hours">00</span>:<span class="minutes">00</span>:
<span class="seconds">00</span>:
<span class="milliseconds">00</span>
</div>
</div>
<div class="option">
<button id="start" onclick="start()" title="Start">
<i class="fa fa-play"></i>
</button>
<button id="pause" onclick="pause()" title="Pause">
<i class="fa fa-pause"></i>
</button>
<button id="reset" onclick="reset()" title="Reset">
<i class="fa fa-power-off"></i>
</button>
</div>
</div>
</body>
</html>