-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (38 loc) · 1.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Scoreboard</title>
</head>
<body>
<div class="outer-container">
<div class="score-board">
<h3>HOME</h3>
<div class="score-container">
<p class="home-score" id="home-score">0</p>
</div>
<div class="buttons" id="home-buttons">
<button class="btn" onclick="addToHome(1)">+1</button>
<button class="btn" onclick="addToHome(2)">+2</button>
<button class="btn" onclick="addToHome(3)">+3</button>
</div>
</div>
<div>
<h3 class="score-board">GUEST</h3>
<div class="score-container">
<p class="guest-score" id="guest-score">0</p>
</div>
<div class="buttons" id="guest-buttons">
<button class="btn" onclick="addToGuest(1)">+1</button>
<button class="btn" onclick="addToGuest(2)">+2</button>
<button class="btn" onclick="addToGuest(3)">+3</button>
</div>
</div>
</div>
<button id="reset" onclick="reset()">RESET</button>
<script src="index.js"></script>
</body>
</html>