-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
223 lines (197 loc) · 11.5 KB
/
index.html
File metadata and controls
223 lines (197 loc) · 11.5 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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Code Quiz">
<meta name="keywords" content="Code-Quiz, JavaScript">
<meta name="author" content="Cailin Bell Wold">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Quiz</title>
<!--Stylesheets-->
<link rel="stylesheet" href="styles/jass.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="styles/style.css">
<!--Fonts-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Parisienne&family=Poppins:wght@200;300&display=swap" rel="stylesheet">
<!-- Icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--Scripts-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<header>
<!--Jumbotron-->
<div class="jumbotron jumbotron-fluid bg-dark text-light">
<div class="container">
<div class="row align-items-end">
<div class="col-12 col-md-5">
<!--Logo-->
<img class="img-fluid" src="./images/Code-Quiz-Logo.png" >
</div>
<div class="col-12 col-md-7">
<!--Header/Welcome-->
<h1>Welcome to Code Quiz!</h1>
<p> As a budding web-developer, you may want to check your skills to identify areas of challenge or to build confidence around your nascent skills. This quiz is designed to check your skills in a low-stress and playful way.</p>
<!--Let's Begin Button-->
<button type="button" class="btn custom-bg-color-o text-white custom-hover begin" data-toggle="modal" data-target="#quizModal">Let's Begin!</button>
</div>
</div>
</div>
</div>
</header>
<main>
<section class="container-fluid">
<!-- Quiz Modal -->
<div class="modal fade" id="quizModal" role="dialog" aria-labelledby="Code Quiz: Javascript">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content sp-3">
<!-- Quiz Modal: Header-->
<div class="modal-header custom-bg-color-n">
<h4 class="modal-title">Code Quiz: Javascript</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Quiz Modal: Body-->
<div class="modal-body">
<form class="quiz">
<!--Current Question / Later: Quiz Done Header-->
<h4 class="pb-3 custom-color-o question-label">Question: <span id="question" class="font-weight-normal text-dark"></span></h4>
<!--Legend-->
<legend class="col-12 border-bottom text-align-center select-label">Select One</legend>
<!--Padding-->
<div class="pl-3">
<!--Fieldset for Current Answer Choices-->
<fieldset class="fieldset">
<ul class="list-unstyled font-weight-bold">
<!--Option A-->
<li>
<input type="radio" name="choices" value="a"></input>
<label for="choice-A">A. <span id="choice-A" class="font-weight-normal"></span></label>
</li>
<!--Option B-->
<li>
<input type="radio" name="choices" value="b"></input>
<label for="choice-B">B. <span id="choice-B" class="font-weight-normal"></span></label>
</li>
<!--Option C-->
<li>
<input type="radio" name="choices" value="c"></input>
<label for="choice-C">C. <span id="choice-C" class="font-weight-normal"></span></label>
</li>
<!--Option D-->
<li>
<input type="radio" name="choices" value="d"></input>
<label for="choice-D">D. <span id="choice-D" class="font-weight-normal"></span></label>
</li>
</ul>
</fieldset>
</div>
<!--Fieldset for Entering Name and Displaying Score-->
<fieldset>
<div class="score-form row none">
<!--Name Input-->
<div class="form-group row">
<label for="inputInitials" class="col-2 col-form-label">Initials:</label>
<div class="col-10">
<input type="text" class="form-control" id="inputInitials" value="" placeholder="">
</div>
</div>
<!--Score (Static) Input-->
<div class="form-group row">
<label for="staticScore" class="col-2 col-form-label">Score (%):</label>
<div class="col-10">
<input type="number" readonly class="form-control-plaintext" id="static-score" value="">
</div>
</div>
</div>
</fieldset>
</form>
<!--Correct/Incorrect Feedback-->
<div id="results"></div>
</div>
<!-- Quiz Modal: Footer-->
<div class="modal-footer justify-content-between">
<div class="h6">Time Remaining: <span class="font-weight-normal text-danger"id="time"></span></div>
<button type="submit" class="btn btn-primary modal-button"></button>
</div>
</div>
</div>
</div>
</section>
<section class="container">
<div class="row">
<!--Learning Resources-->
<div class="col-12 col-md-5">
<div class="card">
<h3 class="card-header">Learning Resources</h3>
<div class="list-group">
<a href="https://www.codecademy.com/learn/introduction-to-javascript" target="_blank" rel="noreferrer noopener" class="list-group-item list-group-item-action">Codecademy</a>
<a href="https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/" target="_blank" rel="noreferrer noopener" class="list-group-item list-group-item-action">FreeCodeCamp</a>
<a href="https://www.w3schools.com/js/DEFAULT.asp" target="_blank" rel="noreferrer noopener" class="list-group-item list-group-item-action">W3 Schools</a>
</div>
</div>
</div>
<!--High Scores-->
<div class="col-12 col-md-7">
<div class="card">
<h3 class="card-header">High Scores</h3>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Initials</th>
<th scope="col">Score</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td id="Initials1">Initials1</td>
<td id="Score1">Score1</td>
</tr>
<tr>
<th scope="row">2</th>
<td id="Initials2">Initials2</td>
<td id="Score2">Score2</td>
</tr>
<tr>
<th scope="row">3</th>
<td id="Initials3">Initials3</td>
<td id="Score3">Score3</td>
</tr>
<tr>
<th scope="row">4</th>
<td id="Initials4">Initials4</td>
<td id="Score4">Score4</td>
</tr>
<tr>
<th scope="row">5</th>
<td id="Initials5">Initials5</td>
<td id="Score5">Score5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
</main>
<footer class="bg-dark text-center text-white fixed-bottom expand-lg" id="footer">
<section class="container p-2">
<!-- Social Media -->
<a class="btn fa fa-linkedin fa-lg text-white" href="https://www.linkedin.com/in/cailinbellwold/" target="_blank" rel="noreferrer noopener" alt="LinkedIn"></a>
<a class="btn fa fa-github fa-lg text-white" href="https://github.com/CailinBellWold" target="_blank" rel="noreferrer noopener" alt="GitHub"></a>
<a class="btn fa fa-envelope fa-lg text-white" href="mailto:cmbellwold@gmail.com?subject=Contact from Portfolio Site" alt="E-mail cmbellwold@gmail.com"></a>
<section class="mt-2">
<p>Made for YOU! ©2021 Cailin M. Bell Wold</p>
</section>
</section>
</footer>
<!-- jQuery library -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<!-- JavaScript file -->
<script type="text/javascript" src="./scripts/script.js"></script>
</body>
</html>