-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (30 loc) · 1.01 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="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css" />
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div>
<div class="container">
<div>
<h3>HOME</h3>
<h1 id="sumHome">-</h1>
<button onclick="addscore(1, 'home')">+1</button>
<button onclick="addscore(2, 'home')">+2</button>
<button onclick="addscore(3, 'home')">+3</button>
</div>
<div>
<h3>GUEST</h3>
<h1 id="sumGuest">-</h1>
<button onclick="addscore(1, 'guest')">+1</button>
<button onclick="addscore(2, 'guest')">+2</button>
<button onclick="addscore(3, 'guest')">+3</button>
</div>
</div>
<div class="reset">
<button onclick="reset()">reset</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>