-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (54 loc) · 1.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Code-Quiz</title>
<!-- link to css -->
<link rel="stylesheet" href="./assets/css/style.css" />
<!-- google font links -->
<link href="http://fonts.googleapis.com/css?family=Corben:bold" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Nobile" rel="stylesheet" type="text/css">
</head>
<body>
<!-- link to highscore html -->
<div class="scores"><button onclick="document.location='highscores.html'">HIGHSCORE BOARD</button></div>
<!-- timer -->
<div class="timer">Time: <span id="time">0</span></div>
<div class="wrapper">
<!-- start screen -->
<div id="startscreen" class="start">
<h1>Javascript Quiz</h1>
<p>
Welcome to Javascript quiz, make sure to answer all questions within
the time shown! Have fun!
</p>
<!-- start quiz button -->
<button id="start">Start Quiz</button>
</div>
<div id="questions" class="hide">
<!-- display of quiz -->
<div id="quiz-title"></div>
<!-- display of choices -->
<div id="choices" class="choices"></div>
<!-- previous button -->
</div>
<div id="endscreen" class="hide">
<h1>Quiz Finished!</h1>
<!-- results -->
<p>Here is your final score <span id="final-score"></span>.</p>
<!-- user score -->
Enter Name: <input type="text" id="initials" />
<!-- submit button -->
<button id="submit">Submit User</button>
</div>
<div id="feedback" class="feedback hide"></div>
</div>
<!-- link to Javascript -->
<script src="./js/question.js"></script>
<script src="./js/logic.js"></script>
</body>
</html>
<!-- questions. how to add start screen
end screen
score system -->