-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (60 loc) · 2.68 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
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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.0/css/bulma.min.css">
<title>Game</title>
<style>
.winner {
color: green;
}
.loser {
color: red;
}
</style>
</head>
<body>
<section class="section">
<div class="container">
<div class="column">
<div class="column is-half is-offset-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image is-2by1">
<img src="https://images.unsplash.com/photo-1534158914592-062992fbe900?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=3784&q=80" alt="">
</figure>
</div>
<header class="card-header">
<p class="card-header-title">
Ping Pong Score Keeper
</p>
</header>
<div class="card-content">
<div class="content">
<h1 class="title is-1"><span id="pl1">0</span> to <span id="pl2">0</span></h1>
<p class="subtitle">Use the buttons below to keep score</p>
<label for="playto" class="is-large label is-inline">Playing to</label>
<div class="select is-rounded">
<select name="" id="range">
<option value="3" selected>3</option>
<option value="5">5</option>
<option value="10">10</option>
</select>
</div>
</div>
</div>
<footer class="card-footer">
<button class="is-primary button card-footer-item is-large" id="pl1b">+1 Player 1</button>
<button class="is-info button card-footer-item is-large" id="pl2b">+1 Player 2</button>
<button class="is-danger button card-footer-item is-large" id="reset">Reset</button>
</footer>
</div>
</div>
</div>
</div>
</section>
<script src="game.js"></script>
</body>
</html>