-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (55 loc) · 2.18 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
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/recurso-sans" type="text/css" />
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/gnu-unifont" type="text/css" />
<link rel="stylesheet" href="style.css">
<title id='time-count'>My Timer</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/hourglass.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<div class="timer">
<div class="timer-body">
<div id="timer-header">
<h2>My Timer</h2>
<img id="hourglass" src="./hourglass.png" alt="Image of hourglass">
</div>
<div>
<h3 class="timer-current">Current time: <span id="current-time"></span></h3>
</div>
<div class="timer-setting">
<h3>Set the time in minutes:</h3>
<div class="timer-input">
<form>
<label>
<input type="number" id="number" name="number" placeholder="Enter minutes" autocomplete="off">
</label>
<button id="start-button">Start</button>
<button id="reset-button">Reset</button>
</form>
</div>
</div>
<div class="show-time">
<h3>Time elapsed: <span id="time-elapsed">
<label id="hours-passed">00</label>:<label id="minutes-passed">00</label>:<label
id="seconds-passed">00</label>
</span>
</h3>
</div>
<div>
<button type="button" class="color-button">Change timer colour</button>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>