-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
31 lines (31 loc) · 1.33 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
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div id="home" class="team">
<h3 class="teamname">HOME</h3>
<p class="teamscore" id="home-score">000</p>
<div class="team-addpoints">
<button class="points-btn" id="home1" onclick="increment_home1()">+1</button>
<button class="points-btn" id="home2" onclick="increment_home2()">+2</button>
<button class="points-btn" id="home3" onclick="increment_home3()">+3</button>
</div>
</div>
<div id="guest" class="team">
<h3 class="teamname">GUEST</h3>
<p class="teamscore" id="guest-score">000</p>
<div class="team-addpoints">
<button class="points-btn" id="guest1" onclick="increment_guest1()">+1</button>
<button class="points-btn" id="guest2" onclick="increment_guest2()">+2</button>
<button class="points-btn" id="guest3" onclick="increment_guest3()">+3</button>
</div>
</div>
</div>
<div>
<button id="newgame" onclick="reset()">New Game</button>
</div>
<script src="index.js"></script>
</body>
</html>