generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.html
72 lines (70 loc) · 2.98 KB
/
quiz.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
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A fun quiz for fans of Star Trek and Star Trek Voyager">
<meta name="keywords" content="star trek, voyager, fans, quiz, star trek quotes">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon/favicon-16x16.png">
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="./assets/favicon/apple-touch-icon.png">
<link rel="stylesheet" href="./assets/css/styles.css">
<title>Trekkies Games - Quiz</title>
</head>
<body class="quiz-bg">
<div>
<!-- header area for game logo -->
<div>
<a href="index.html" class="logo">
<h1 class="logo">Trekkies Games</h1>
</a>
</div>
</div>
<!-- quiz rules -->
<div class="instructions-container">
<h2 class="mission-intro">
Welcome to your first mission, Trekkie. Your mission is to complete the quiz
and advance to the next stage.
</h2>
<h3 class="instructions-title">Quiz Rules</h3>
<ol class="instructions-list">
<li>How "trekkie" are you? Answer this Star Trek Voyager quiz and find out!</li>
<li>Your submitted answer is the final answer.</li>
<li>Every correct answer is equivalent to 10 points.</li>
<li>Enjoy!</li>
</ol>
</div>
<!-- start quiz button area -->
<div>
<button class="start-quiz start" id="start-btn">Start Quiz</button>
</div>
<!-- quiz container -->
<div class="quiz-container">
<!-- quiz questions area -->
<div class="question-text" id="question-index"></div>
<!-- quiz answers -->
<div>
<div class="answers-container submit-buttons">
<button class="options-btn " id="option-one"></button>
<button class="options-btn " id="option-two"></button>
<button class="options-btn" id="option-three"></button>
<button class="options-btn" id="option-four"></button>
</div>
</div>
<div class="results-container">
<p><span class="total-scores">%</span></p>
</div>
<!-- buttons for quiz game navigation -->
<div class="game-nav">
<button class="btn-exit ">Exit Quiz</button>
<button class="btn-continue ">Next Question</button>
</div>
<div class="score-area">
<p class="scores">Correct Answer: <span id="score">0</span> </p>
<p class="scores">Incorrect Answer: <span id="incorrect">0</span> </p>
</div>
</div>
<script src="./assets/js/quiz.js" defer></script>
</body>
</html>