-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (83 loc) · 4.27 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!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]/dist/css/bootstrap.min.css"
integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link rel="stylesheet" href="score_keeper.css">
</head>
<body>
<!-- <div class="container-fluid text-center">
<div class=" ">
<img class="img-fluid rounded text-center img-css" src="https://images.unsplash.com/photo-1593786481097-cf281dd12e9e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80"
alt="A woman playing table tennis">
</div>
<p class="h6 text-left mycss-ml ml-5">Ping Pong Score Keeper</p>
<span class="h2" id="playerOneScore">0</span>
<span class="h2"> to </span>
<span class="h2" id="playerTwoScore">0</span>
<p>use the buttons below to keep score</p>
<span class="h5">Playing To </span>
<select class=" " name="maxScore" id="MaxScore">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option selected value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
</select>
<div>
<button class="btn btn-secondary" id="player1btn">+1 Player One</button>
<button class="btn btn-primary" id="player2btn">+1 Player Two</button>
<button class="btn btn-danger" id="reset">Reset</button>
</div>
</div> -->
<div class="container ">
<div class="row">
<div class="col"></div>
<div class="col">
<div class="card" style="width: 26rem;">
<img src="https://images.unsplash.com/photo-1593786481097-cf281dd12e9e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80"
class="card-img-top" alt="A woman playing table tennis">
<div class="card-body">
<p class="h6">Ping Pong Score Keeper</p>
<span class="h2" value="0" id="playerOneScore">0</span>
<span class="h2"> to </span>
<span class="h2" value="0" id="playerTwoScore">0</span>
<p>use the buttons below to keep score</p>
<span class="h5">Playing To </span>
<select class=" btn btn-light dropdown-toggle ml-2 mb-2" name="maxScore" id="maxScore">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option selected value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
</select>
<div class="mt-3">
<button class="btn btn-secondary mr-2" id="player1btn" >+1 Player One</button>
<button class="btn btn-primary mr-2" id="player2btn">+1 Player Two</button>
<button class="btn btn-danger" id="reset">Reset</button>
</div>
</div>
</div>
</div>
<div class="col"></div>
</div>
</div>
<script src="score_keeper.js"></script>
</body>
</html>