-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (65 loc) · 1.65 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>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Time Calculator</title>
<link rel="stylesheet" href="./src/css/style.css">
</head>
<body>
<div class="container">
<div class="title">
<h1>Time Calculator</h1>
</div>
<div class="wrapper">
<div id="result">
<p>
<span id="hour">00</span>
<span id="hour-text">hour</span>
<span id="min">00</span>
<span id="min-text">min</span>
<span id="sec">00</span>
<span id="sec-text">sec</span>
</p>
</div>
<table>
<tbody id="field-times">
<tr class="input-wrapper primary">
<td></td>
<td>
<input
type="time"
class="input"
step="2"
value="00:00:00">
</td>
<td>
<button class=" btn" id="btn-add">+</button>
</td>
</tr>
<tr class="input-wrapper">
<td id="elt">
<button class="btn operator"
onclick="changeOperator(this)"
data-operator="0"
data-index="0"
value="sum">+</button>
</td>
<td>
<input
type="time"
class="input"
step="2"
value="00:00:00"
id="index-0">
</td>
<td></td>
</tr>
</tbody>
</table>
<button id="calc">CALCULATE</button>
</div>
</div>
<script src="./src/js/script.js"></script>
</body>
</html>