-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
197 lines (160 loc) · 6.72 KB
/
index.html
File metadata and controls
197 lines (160 loc) · 6.72 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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="en-us">
<!-- HTML file to execute the Trivia game.
NAME: index.html
AUTHOR: Elaina Swann
DATE: 12/21/2017
REVISION LOG:
1.0 12/21/2017 - Baseline version.
-->
<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" />
<meta name="description" content="Trivia Game" />
<meta name="keywords" content="Trivia, Game" />
<meta name="author" content="Elaina Swann" />
<title>Trivia Game</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Link to selected google fonts. -->
<link href="https://fonts.googleapis.com/css?family=Bungee|Lato" rel="stylesheet">
<!-- Link to customized stylesheet for Trivia game. -->
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
</head>
<body>
<div id="background">
<img src="assets/images/background.jpg" class="img-responsive stretch" alt="Dog Trivia Background image" />
</div>
<div class="container">
<div class="jumbotron">
<div id="main-content">
<div class="row">
<div class="col-md-12">
<h1 class="text-center" id="title">TRIVIA HAS GONE TO THE DOGS!!!</h1>
</div>
</div> <!-- trivia title row -->
<div class="container" id="start-container">
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default btn-lg start" id="start-btn">START</button>
</div>
</div> <!-- start button row -->
</div>
<div class="row">
<div class="col-md-12">
<h2 class="text-center" id="time-remain"></h2>
</div>
</div> <!-- time remaining row -->
<div class="container" id="question-container">
<div class="row">
<div class="col-md-12">
<h2 class="text-center" id="question"></h2>
</div>
</div> <!-- question row -->
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default btn-lg choice" id="choice-0"></button>
</div>
</div> <!-- choice 0 row -->
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default btn-lg choice" id="choice-1"></button>
</div>
</div> <!-- choice 1 row -->
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default btn-lg choice" id="choice-2"></button>
</div>
</div> <!-- choice 2 row -->
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default btn-lg choice" id="choice-3"></button>
</div>
</div> <!-- choice 3 row -->
</div> <!-- question container -->
<div class="container" id="answer-container">
<div class="row">
<div class="col-md-12 text-center">
<div id="answer-text">
</div>
</div>
</div> <!-- answer text row -->
<div class="row">
<div class="col-md-12">
<div id="answer-img">
</div>
</div>
</div> <!-- answer image row -->
</div> <!-- answer container -->
<div class="container" id="result-container">
<div class="row">
<div class="col-md-12">
<h2 class="text-center" id="comment"></h2>
</div>
</div> <!-- comment row -->
<div class="row">
<div class="col-md-12">
<h2 class="text-center" id="correct"></h2>
</div>
</div> <!-- correct row -->
<div class="row">
<div class="col-md-12">
<h2 class="text-center" id="incorrect"></h2>
</div>
</div> <!-- incorrect row -->
<div class="row">
<div class="col-md-12">
<h2 class="text-center" id="unanswered"></h2>
</div>
</div> <!-- unanswered row -->
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-default btn-lg start" id="restart-btn">START OVER?</button>
</div>
</div> <!-- restart button row -->
</div> <!-- result container -->
</div> <!-- main-content -->
<div class="container" id="progress-container">
<div class="row">
<div class="col-md-12">
<div class="center-block" id="progress-col">
<div class="text-center">
<h3>Progress...</h3>
</div>
<div class="progress">
<div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
</div>
</div>
</div> <!-- progress column -->
</div>
</div>
</div> <!-- progress container -->
</div> <!-- jumbotron -->
</div> <!-- main container -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js">
</script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- Latest compiled and minified JavaScript -->
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous">
</script>
<!-- Custom JavaScript code to implement Star Wars game -->
<script
type="application/javascript" src="assets/javascript/Questions.js">
</script>
<script
type="application/javascript" src="assets/javascript/app.js">
</script>
</body>
</html>