-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (112 loc) · 3.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>
<div id="quiz-app">
<section class="center-card quiz-details" id="quiz-details">
<img class="quiz-details__image" src="#" alt="Quiz illustration" />
<h2 class="quiz-details__title"></h2>
<p class="quiz-details__description"></p>
<div class="quiz-details__meta --qc">
<span>Question Count:</span><strong>--</strong>
</div>
<div class="quiz-details__meta --t">
<span>Time:</span><strong>--</strong>
</div>
<div class="quiz-details__start-btn-wrapper">
<button class="default-btn quiz-details__start-btn">Start</button>
</div>
</section>
<section class="center-card questions-card" id="questions-card">
<div class="questions-card__progress-wrapper">
<span class="questions-card__q-count">Question 0/0</span>
<span class="questions-card__remaining-time"></span>
<div class="questions-card__progress">
<span class="--value"></span>
</div>
</div>
<p
class="questions-card__q-title"
id="question-title"
data-qn="Q 1:"
></p>
<div class="question-card__options">
<div class="question-card__option __one">
<input
type="radio"
name="question-option"
id="option-one"
value="0"
/>
<label
class="question-card__option__value"
for="option-one"
></label>
</div>
<div class="question-card__option __two">
<input
type="radio"
name="question-option"
id="option-two"
value="1"
/>
<label
class="question-card__option__value"
for="option-two"
></label>
</div>
<div class="question-card__option __three">
<input
type="radio"
name="question-option"
id="option-three"
value="2"
/>
<label
class="question-card__option__value"
for="option-three"
></label>
</div>
<div class="question-card__option __four">
<input
type="radio"
name="question-option"
id="option-four"
value="3"
/>
<label
class="question-card__option__value"
for="option-four"
></label>
</div>
</div>
<div class="question-card-buttons">
<button class="default-btn question-card-buttons__stop" id="stop-btn">
Stop
</button>
<button class="default-btn question-card-buttons__next" id="next-btn">
Next
</button>
</div>
</section>
<section class="center-card result-card" id="result-card">
<span class="result-card__score__lbl">Your total score is:</span>
<h2 class="result-card__score" id="score">0</h2>
<span class="result-card__score__add" id="score-add"></span>
<div class="result-card-buttons">
<button class="default-btn" id="go-to-home">Play Again</button>
</div>
</section>
</div>
<script src="scripts/quiz.js"></script>
<script src="scripts/elements-helper.js"></script>
<script src="scripts/index.js"></script>
</body>
</html>