-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (57 loc) · 2.77 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
66
67
68
69
70
71
72
73
74
75
<!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">
<title>Score Keeper</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
</head>
<body>
<section class="section">
<div class="columns">
<div class="column is-half is-offset-one-quarter">
<div class="card">
<figure class='img 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="img">
</figure>
<header class="card-header">
<p class="card-header-title">
Ping Pong Score Keeper
</p>
<button class="card-header-icon" aria-label="more options">
<span class="icon">
<i class="fas fa-angle-down" aria-hidden="true"></i>
</span>
</button>
</header>
<div class="card-content">
<div class="content">
<h1 class='title is-1'><span id=p1Display>0</span> to <span id="p2Display">0</span></h1>
<div class="subtitle">Use the buttons below to keep score</div>
<label for="scoretowin" class='label is-large is-inline'>Playing To</label>
<div class="select is-rounded">
<select name="sc" id="scoretowin">
<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>
</select>
</div>
</div>
</div>
<footer class="card-footer">
<button id="p1Button" class="button is-primary card-footer-item">+1 Player One</button>
<button id="p2Button" class="button is-info card-footer-item">+1 Player Two</button>
<button id="reset" class="button is-danger card-footer-item">Reset</button>
</footer>
</div>
</div>
</div>
</div>
</section>
<script src="app.js"></script>
</body>
</html>