forked from makersacademy/bowling-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (105 loc) · 3.15 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
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="src/frame.js"></script>
<script src="src/bowling.js"></script>
<script src="src/interface.js"></script>
<link rel="stylesheet" type="text/css" href="/public/css/reset.css">
<link rel="stylesheet" type="text/css" href="/public/css/bowling.css">
<title>Bowling Scorecard</title>
</head>
<body>
<div id='start'>
<h1>Hi there!</h1><br>
<p>To begin scoring, click here:</p>
<button id='begin'>Score Me!</button>
</div>
<div class='mainCard'>
<br>
<div>
<button class='buttons' value='1'>1</button>
<button class='buttons' value='2'>2</button>
<button class='buttons' value='3'>3</button>
<button class='buttons' value='4'>4</button>
<button class='buttons' value='5'>5</button>
<button class='buttons' value='6'>6</button>
<button class='buttons' value='7'>7</button>
<button class='buttons' value='8'>8</button>
<button class='buttons' value='9'>9</button>
<button class='buttons' value='10'>10</button>
</div>
<br><br>
<table style='width:70%' class='frames'>
<thead>
<tr>
<th>Frame 1</th>
<th>Frame 2</th>
<th>Frame 3</th>
<th>Frame 4</th>
<th>Frame 5</th>
<th>Frame 6</th>
<th>Frame 7</th>
<th>Frame 8</th>
<th>Frame 9</th>
<th>Frame 10</th>
</tr>
</thead>
<tbody>
<tr>
<td id='frame1_1'></td>
<td id='frame2_1'></td>
<td id='frame3_1'></td>
<td id='frame4_1'></td>
<td id='frame5_1'></td>
<td id='frame6_1'></td>
<td id='frame7_1'></td>
<td id='frame8_1'></td>
<td id='frame9_1'></td>
<td id='frame10_1'></td>
</tr>
<tr>
<td id='frame1_2'></td>
<td id='frame2_2'></td>
<td id='frame3_2'></td>
<td id='frame4_2'></td>
<td id='frame5_2'></td>
<td id='frame6_2'></td>
<td id='frame7_2'></td>
<td id='frame8_2'></td>
<td id='frame9_2'></td>
<td id='frame10_2'></td>
</tr>
<tr>
<td id='frame1_3'></td>
<td id='frame2_3'></td>
<td id='frame3_3'></td>
<td id='frame4_3'></td>
<td id='frame5_3'></td>
<td id='frame6_3'></td>
<td id='frame7_3'></td>
<td id='frame8_3'></td>
<td id='frame9_3'></td>
<td id='frame10_3'></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<br><br>
<h1>Final Score:</h1>
<br>
<p id='finalscore'>0</p>
</div>
</body>
</html>