-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGAMESTART.html
More file actions
195 lines (163 loc) · 6.4 KB
/
GAMESTART.html
File metadata and controls
195 lines (163 loc) · 6.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Coding Game</title>
<!-- CSS RESET LINK -->
<link
rel="stylesheet"
type="text/css"
href="http://yui.yahooapis.com/3.18.1/build/cssreset/cssreset-min.css"
/>
<!-- BOOTSTRAP LINK -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<!-- STYLESHEET LINK -->
<link rel="stylesheet" href="stylesheet.css" />
</head>
<body>
<!-- GAME HEADER -->
<header id="header">
<div class="container">
<div class="row">
<!-- TIME DISPLAY BOX -->
<div class="col-sm-2" style="background-color: gold; border-style: ridge; border-width: 2px; padding-bottom: 20px; text-align: center;">
<br>
<h4 class="time">
60 sec. left
</h4>
</div>
<!-- TITLE CODING QUIZ -->
<div class="col-sm-8" style="background-color:dodgerblue; text-align: center; border-style: ridge; border-width: 2px; border-left: 0px; border-right: 0px; padding-bottom: 20px;">
<h1 style="margin-top: 11px;">
<strong>CODING QUIZ</strong>
</h1>
</div>
<!-- SCORE DISPLAY BOX -->
<div id="scoreDisplay" class="col-sm-2" style="background-color: gold; border-style: ridge; border-width: 2px; padding-bottom: 20px; text-align: center;">
<br>
<h4>
SCORE: <span id="currentScore">0</span>
</h4>
</div>
</div>
</header>
<!-- 2 BREAKS FOR FORMATTING -->
<br>
<main id="mainContainer">
<div class="container">
<div class="row">
<!-- QUESTION BEING ASKED -->
<div class="col">
<h2 id="questionBox" class="mx-auto p-3" style="text-align: center; width: 70%; border-style: ridge; border-width: 2px; background-color: gold;">
</h2>
</div>
</div>
<div class="row">
<!-- ANSWER CHOICE 1 -->
<div class="col">
<h3 id="answer1" class="mx-auto p-3">
</h3>
</div>
</div>
<div class="row">
<div class="col">
<!-- ANSWER CHOICE 2 -->
<h3 id="answer2" class="mx-auto p-3" >
</h3>
</div>
</div>
<div class="row">
<div class="col">
<!-- ANSWER CHOICE 3 -->
<h3 id="answer3" class="mx-auto p-3">
</h3>
</div>
</div>
<div class="row">
<div class="col">
<!-- ANSWER CHOICE 4 -->
<h3 id="answer4" class="mx-auto p-3">
</h3>
</div>
</div>
<div class="row">
<div class="col">
<!-- CONTINUE BUTTON -->
<h3 id="continueBtn" class="mx-auto p-3">
CLICK TO CONTINUE
</h3>
</div>
</div>
</main>
<!-- GAMEOVER SEQUENCE -->
<section id="mainGameOver">
<!-- GAMEOVER HEADER -->
<header class="header headerGo">
<span class="GAMEOVER">GAMEOVER</span>
</header>
<div class="container">
<div class="row">
<!-- ENTER NAME FOR SCORE -->
<div class="col-sm-8 nameScore">
<!-- NAME FORM -->
<form id="nameScoreForm">
<input
id="name-input"
class="form-control"
type="text"
placeholder="ENTER NAME HERE"
/>
</form>
</div>
<div id="endScoreBox" class="col-sm-auto endscoreEdit">
<br>
<h4>
SCORE: <span id="endScoreDisplay">0</span>
</h4>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-6">
<!-- START OVER BUTTON -->
<a href="./index.html"> <button class="btnEnd1">
STARTOVER
</button>
</a>
</div>
<div class="col-sm-6">
<!-- CLEAR SCORES BUTTON -->
<button class="btnEnd2">
CLEAR SCORES
</button>
</div>
</div>
<br>
<!-- SAVED SCORES TEXT DISPLAY -->
<div class="row">
<div class="col">
<h4 class="savedSco">
SAVED SCORES
</h4>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-8">
<!-- POSTED SCORES FILLS IN WITH JAVASCRIPT -->
<ul id="postedScores"></ul>
</div>
</div>
</section>
<!-- JAVASCRIPT LINK -->
<script src="myscript.js"></script>
</body>
</html>