-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquestion.html
More file actions
75 lines (64 loc) · 2.42 KB
/
question.html
File metadata and controls
75 lines (64 loc) · 2.42 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
<!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">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<title>JS Quiz</title>
</head>
<body>
<header>
<!-- <a id=leaderboard href="highscores.html">Highscores <i class="fas fa-hand-point-left fa-lg"></i>
</i></a> -->
<span class="timer">Time:</span>
<span class="points">Score:</span>
</header>
<div class="container">
<main>
<div class="questions">
<h1 class="quiz-question" data-answer=""></h1>
<ul class="quiz-options">
<li data-index="0" class=" answer answer-options0 hide"></li>
<li data-index="1" class="answer answer-options1 hide"></li>
<li data-index="2" class="answer answer-options2 hide"></li>
<li data-index="3" class="answer answer-options3 hide"></li>
</ul>
<div class="button-container">
<button class="info">More Info!</button>
<button class="next">Next</button>
</div>
</div>
<div class="wrong-answer hide">
INCORRECT!
</div>
<div class="right-answer hide">
CORRECT!
</div>
<div class="more hide">
<p class="learn-more"></p>
</div>
<div class="end hide">
<h1>All done!</h1>
<p class="final-score"></p>
<h4>Let's get you on that score board!</h4>
<div class="user-details">
Enter name:
<input required type="text" id="name"/>
<div class="name-alert hide"></div>
<!-- Enter twitter username:
<input type="text" id="twitterName"/> -->
<input hidden type="text" id="totalTime"/>
<input hidden type="text" id="score"/>
<div class="button-container">
<button type ="submit"id="submit">Submit</button>
<a href="index.html" >Cancel</a>
</div>
</div>
</div>
</main>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>