forked from makersacademy/bowling-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (49 loc) · 2.27 KB
/
index.html
File metadata and controls
50 lines (49 loc) · 2.27 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link type="text/css" rel="stylesheet" href="./public/styles.css">
</head>
<body>
<br>
<div class='container text-center border rounded w-50 p-3' style='background-color:#AFEEEE'>
<h1>Bowling Scorecard 🎳</h1>
<h3>How many pins did you knock down:</h3><br>
<select id="pins_hit">
<option value="0">0</option>
<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 value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
<button id="submit_pins">Submit</button>
</div>
<br>
<div class='container text-center border rounded w-50 p-3' style='background-color:#AFEEEE'>
<h1>Current frame:</h1>
<h3><span id="frame"></span></h3>
</div>
<br>
<div class='container text-center border rounded w-50 p-3' style='background-color:#AFEEEE'>
<button id="final-score">Calculate final score</button>
<h1>Final score:</h1><br>
<h3><span id="score"></span></h3>
</div>
<br>
<div class='container text-center border rounded w-50 p-3' style='background-color:#AFEEEE'>
<img src="images/grease_2_bowling.jpeg" alt="We're gonna score tonight!">
</div>
<script src="src/BowlingGame.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="interface.js"></script>
</body>
</html>