-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (67 loc) · 2.94 KB
/
Copy pathindex.html
File metadata and controls
70 lines (67 loc) · 2.94 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
66
67
68
69
70
<!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="assets/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<title>Score Keeper</title>
</head>
<body>
<header>
<h1>Ping Pong score keeper!</h1>
<p>So you don't have to pay your friend to keep track of your points</p>
</header>
<div class="row container-fluid justify-content-center">
<section id="score">
<div class="row img-fluid justify-content-center logo">
<img src="assets/img/logo.jpg" alt="Logo" id="image">
</div>
<div class="score-settings">
<label for="scoreLimit">Select the score limit:</label>
<div>
<select name="score" id="scoreLimit">
<option value="11" selected>11 Points (Standard)</option>
<option value="7">7 Points</option>
<option value="5">5 Points</option>
<option value="3">3 Points</option>
<option value="custom">Custom</option>
</select>
</div>
<div id="customInput">
<label for="customScore">Enter Custom Score:</label>
<input type="number" min="1" name="customScore" id="customScore">
</div>
<div id="winner">
<h4>
<b>Who will be the winner?</b>
</h4>
</div>
</div>
<div class="row" id="scoreDiv">
<div id="scoreBoard" class="container-fluid d-flex justify-content-between ">
<div class="d-flex col-5 mx-auto justify-content-start">
<span id="playerOnePoints">0</span>
</div>
<div class="d-flex col-2 justify-content-center">
<span>x</span>
</div>
<div class="d-flex col-5 justify-content-end">
<span id="playerTwoPoints">0</span>
</div>
</div>
<div id="buttonScore" class="d-flex justify-content-between">
<button id="scoreOne" class="col-6">Player 1</button>
<button id="scoreTwo" class="col-6">Player 2</button>
</div>
<div id="buttonReset" class="d-flex justify-content-center mt-2">
<button id="reset" class="col-6">Reset Points</button>
</div>
</div>
</section>
</div>
<script src="src/app.js"></script>
</body>
</html>