-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (32 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en">
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basketball scoreboard</title>
<link href="index.css" rel="stylesheet">
</head>
<body>
<div class="page">
<div class="flex">
<div class="home">
<h1>HOME</h1>
<p class="sum" id="homeCount">0</p>
<button onclick="homeAdd1()">+ 1</button>
<button onclick="homeAdd2()">+ 2</button>
<button onclick="homeAdd3()">+ 3</button>
</div>
<div class="guest">
<h1>GUEST</h1>
<p class="sum" id="guestCount">0</p>
<button onclick="guestAdd1()">+ 1</button>
<button onclick="guestAdd2()">+ 2</button>
<button onclick="guestAdd3()">+ 3</button>
</div>
</div>
</div>
<button class="set-zero" onclick="setZero()">New game</button>
<script src="index.js"></script>
</body>
</html>