-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (61 loc) · 3.11 KB
/
Copy pathindex.html
File metadata and controls
61 lines (61 loc) · 3.11 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<title>Coding Quiz!</title>
</head>
<body>
<header class="p-3">
<a href="highscores.html">View High Scores</a>
<span id="timer" class="float-right mr-2">Time: 0</span>
</header>
<!-- Home Screen -->
<div class="container mt-5" id="home">
<div class="row justify-content-center mt-5 pt-3 pb-3">
<div class="col-10 col-lg-8 text-center">
<h1>Coding Quiz Challenge.</h1> <br>
<p>135 seconds time limit to answer all the questions.<br>
<strong>NOTE:</strong> For every incorrect answer, you loose 10 seconds in your timer!</p> <br>
<button type="button" id="startBtn" class="btn btn-info btn-lg">START</button>
</div>
</div>
</div>
<!-- Q&A btn-success:hover-->
<div class="container mt-5 d-none" id="quiz">
<div class="row justify-content-center mt-5 pt-3 pb-3">
<div class="col-10 col-lg-8" id="QA-block">
<h3 id="questions" class="mb-4">QUESTION</h3>
<ul id="answers" class="list-unstyled">
<li class="answerChoice">A) </li>
<li class="answerChoice">B) </li>
<li class="answerChoice">C) </li>
<li class="answerChoice">D) </li>
</ul>
<p class="feedback"></p>
</div>
</div>
</div>
<!-- Finished Screen -->
<div class="container mt-5 d-none" id="submit-score">
<div class="row justify-content-center mt-5 pt-3 pb-3">
<div class="col-10 col-lg-8">
<h2>Completed!</h2>
<p id="user-score"> </p>
<form class="form-group">
<label for="new-score">Type your name: </label>
<input type="text" id="userName">
<button type="button" class="btn btn-info btn-sm submitBtn rk7">Submit</button>
</form>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="./javascripts/questions.js"></script>
<script src="./javascripts/main.js"></script>
</body>
</html>