-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (41 loc) · 1.59 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
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<div class="score">
<div>
<h3>HOME</h3>
<p id="homeScore"></p> <!--Placar-->
<div class="points">
<p id="plus1" onclick="add1PointHome()">+1</p>
<p id="plus2" onclick="add2PointsHome()">+2</p>
<p id="plus3" onclick="add3PointsHome()">+3</p>
</div>
</div>
<div>
<h3>GUEST</h3>
<p id="guestScore"></p> <!--Placar-->
<div class="points">
<p id="plus1" onclick="add1PointGuest()">+1</p>
<p id="plus2" onclick="add2PointsGuest()">+2</p>
<p id="plus3" onclick="add3PointsGuest()">+3</p>
</div>
</div>
</div>
<div class="stopwatch">
<div class="timer">
<p id="counter">00:00:00</p>
</div>
<div class="sw-btn">
<button class="btn-start" onclick="start()">Start</button>
<button class="btn-pause" onclick="pause()">Pause</button>
<button class="btn-reset" onclick="reset()">Reset</button>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>