-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (62 loc) · 2.79 KB
/
index.html
File metadata and controls
69 lines (62 loc) · 2.79 KB
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
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<title>timer</title>
</head>
<body>
<main>
<h1>Timer</h1>
<div class="timer-container">
<div class="top-row">
<button class="btn btn-fill active"><i class="fa fa-hourglass-o" aria-hidden="true"></i>
timer</button>
<button class="btn btn-fill"><i class="fa fa-clock-o" aria-hidden="true"></i>
stopwatch</button>
</div>
<div class="middle-row">
<button id="timer" class="" type="button">
<span id="leftH"></span>
<span id="leftM"></span>
<span id="leftS"> <small></small></span>
</button>
<form id="input-form" class="hidden" action="#">
<div id="inputs" class="inputs-wrapper">
<label for="h">
<input id="h" onkeypress="return isNumberKey(event)" name="h" id="h" type="number" min="0" max="99" tabindex="3" value="00">
h
</label>
<label for="m">
<input id="m" name="m" onkeypress="return isNumberKey(event)" type="number" min="0" max="99" tabindex="2" value="00">
m
</label>
<label for="s">
<input id="s" onkeypress="return isNumberKey(event)" type="number" min="0" max="99" name="s" tabindex="1" value="00">
s
</label>
</div>
</form>
<div class="progress-bar"></div>
</div>
<div class="bottom-row">
<div class="left">
<button type="submit" form="input-form" class="btn btn-simple active" type="button">Pause</button>
<button id="reset" class="btn btn-simple" type="reset">Reset</button>
</div>
<div class="right">
<button id="toggle-sound" class="btn btn-icon" type="button">
<i class=" fa fa-volume-off" aria-hidden="true"></i>
</button>
<button class="btn btn-icon" type="button">
<i class="fa fa-arrows-alt" aria-hidden="true"></i>
</button>
</div>
</div>
</div>
</main>
<script src="main.js"> </script>
</body>
</html>