-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (30 loc) · 1.08 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
<html>
<head>
<title>MyTimer</title>
<script src="js/timer.js" rel="text/javascript"></script>
<link href="css/timer.css" rel="stylesheet">
</head>
<body>
<div id="clock">
<div class="clockblock" id="thr">0</div>
<div class="clockblock" id="ohr">0</div>
<div class="clockblock" >:</div>
<div class="clockblock" id="tmin">0</div>
<div class="clockblock" id="omin">0</div>
<div class="clockblock" >:</div>
<div class="clockblock" id="tsec">0</div>
<div class="clockblock" id="osec">0</div>
</div>
<div id="container">
<button class="button" id="start">Start/Resume</button>
<button class="button" id="pause">Pause</button>
<button class="button" id="reset">Reset</button>
</div>
<script>
function onBodyLoad(){
timer.init();
}
window.addEventListener('load',onBodyLoad)
</script>
</body>
</html>