-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (58 loc) · 2.11 KB
/
index.html
File metadata and controls
63 lines (58 loc) · 2.11 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Basketball Scoreboard</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div class="container">
<h1 class="title white center upperCase">Basketball Scoreboard</h1>
<div class="wrapper">
<div class="board">
<div class="player blue">
<h2 class="player__title center upperCase">Home</h2>
<div class="box">
<output class="score" id="HomeScore">0</output>
</div>
<div class="addition">
<button class="addition__minus white" onclick="homeSubtractOne()">-</button>
<button class="addition__plusOne white" onclick="homeAddOne()">+1</button>
<button class="addition__plusTwo white" onclick="homeAddTwo()">+2</button>
<button class="addition__plusThree white" onclick="homeAddThree()">+3</button>
</div>
</div>
<div class="player">
<h2 class="player__title center upperCase red border--red">Guest</h2>
<div class="box border--red">
<output class="score red" id="GuestScore">0</output>
</div>
<div class="addition">
<button class="addition__minus white border--red" onclick="guestSubtractOne()">
-
</button>
<button class="addition__plusOne white border--red" onclick="guestAddOne()">
+1
</button>
<button class="addition__plusTwo white border--red" onclick="guestAddTwo()">
+2
</button>
<button class="addition__plusThree white border--red" onclick="guestAddThree()">
+3
</button>
</div>
</div>
</div>
<hr />
<button class="reset white" onclick="reset()" tabindex="-1">Reset</button>
</div>
</div>
<script defer src="index.js"></script>
</body>
</html>