-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (43 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basketball Scoreboard by Veljko</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main class="scoreboard">
<section id="time"></section>
<section class="scores">
<div class="home">
<h1 id="home-header">HOME</h1>
<div id="home-score"></div>
<div class="buttons">
<button id="home-one" onclick="homePoints(1)">+1</button>
<button id="home-two" onclick="homePoints(2)">+2</button>
<button id="home-three" onclick="homePoints(3)">+3</button>
</div>
</div>
<div class="period-div">
<h3>Period</h3>
<div id="period">1</div>
</div>
<div class="guest">
<h1 id="guest-header">GUEST</h1>
<div id="guest-score"></div>
<div class="buttons">
<button id="guest-one" onclick="guestPoints(1)">+1</button>
<button id="guest-two" onclick="guestPoints(2)">+2</button>
<button id="guest-three" onclick="guestPoints(3)">+3</button>
</div>
</div>
</section>
<section>
<button id="new-game" onclick="newGame()">New game</button>
<button id="pause-game" onclick="pauseGame()">Pause game</button>
</section>
</main>
<script src="index.js"></script>
</body>
</html>