-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (62 loc) · 2.71 KB
/
index.html
File metadata and controls
65 lines (62 loc) · 2.71 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
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.4/css/bulma.min.css">
<script src="script.js" defer></script>
<style>
.winner {
color: green;
}
.loser {
color: red;
}
</style>
<title>Score keeper</title>
</head>
<body>
<div class="container">
<div class="columns">
<div class="column is-half is-offset-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image is-16by9">
<img src="img/free-sport.png" alt="People playing">
</figure>
</div>
<header class="card-header">
<p class="card-header-title">Game Score Keeper</p>
</header>
<div class="card-content">
<div class="content">
<h1 class="title is-1"><span id="p1-display">0</span> to <span id="p2-display">0</span></h1>
<p class="subtitle">Use the buttons below to keep score</p>
<label for="play-to" class="label is-large is-inline">Playing to</label>
<div class="select is-rounded">
<select name="" id="play-to">
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
</div>
</div>
<footer class="card-footer">
<button class="is-primary button card-footer-item" id="p1-button">+1 Player One</button>
<button class="is-info button card-footer-item" id="p2-button">+1 Player Two</button>
<button class="is-danger button card-footer-item" id="reset-button">Reset</button>
</footer>
</div>
</div>
</div>
</div>
</body>
</html>