-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (41 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Score Keeper 🏓</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="container">
<div id="img-container">
<img id="ping-pong"
src="https://images.unsplash.com/photo-1584813539806-2538b8d918c6?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8cGluZyUyMHBvbmd8ZW58MHx8MHx8fDA%3D">
</div>
<div id="title-container">
<p id="title-text">Ping Pong Score Keeper</p>
</div>
<div id="content-container">
<span id="score-player1" class="score-player">0</span> <span class="score-player">to</span> <span id="score-player2" class="score-player">0</span>
<p>Use the button below to keep score 🏓</p>
<span>
<label for="score-select">Playing To:</label>
<select name="score" id="score-select">
<option value="5">5</option>
<option value="7">7</option>
<option value="11">11</option>
</select>
</span>
</div>
<div id="button-container">
<button id="player1-btn">+1 Player One</button>
<button id="player2-btn">+1 Player Two</button>
<button id="reset-btn">Reset</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>