-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (64 loc) · 2.99 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
<!DOCTYPE html>
<html lang="en">
<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">
<title>Coding Quiz Game</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<header class=>
<div class="title">Nicole's Coding Quiz<a href="storescores.html" class="highscores float-end">View Scores</a></div>
</header>
<main class="container position-relative">
<div id="start" class="hide text-center">
<h1>Nicole's Coding Quiz</h1>
<button type="button" class="buttons mt-5" id="start-btn">Start!</button>
</div>
<div id="rules" class="info-box mt-5" style="width: auto" >
<div class="info-title">Before You Start: Rules for Coding Quiz</div>
<div class="info-list">
<div class="info">1. There are 10 questions to be completed in this quiz.</div>
<div class="info">2. You have <span>60 seconds</span> to finish each question.</div>
<div class="info">3. You cannot go back to previous questions.</div>
<div class="info">4. If you answer a question incorrectly, you are penalized 3 seconds.</div>
<div class="info">5. Make sure you have fun!</div>
</div>
<div class="buttons">
<button class="quit btn btn-primary btn-sm"><a href="storescores.html" class="highscores float-end">Exit Quiz</a></button>
<button class="restart btn btn-primary btn-sm">Continue</button>
</div>
</div>
<section id="questions" class="hide row quiz-box mt-5" style="width: auto">
<div id="time-rem">
<span>Time Left: 60</span>
</div>
<h1 class="que-text">
<span></span>
</h1>
<div id="choices" class="flex-direction">
<div class="option"><span></span></div>
<div class="option"><span></span></div>
<div class="option"><span></span></div>
<div class="option"><span></span></div>
</div>
<div id="response">
<span></span>
</div>
</section>
<div id="quiz-end" class="hide text-center p-5">
<div class="flex-direction flex-direction"><h1>End of Quiz!</h1>
<h3 class="score"></h3>
<h2>Enter Your Initials:</h2>
<input type="text" id="initials" class="mt-1">
<button id="save-score">Submit</button>
</div>
</div>
</main>
<script src="assets/quiz.js"></script>
<script src="assets/script.js"></script>
</body>
</html>