-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (100 loc) · 3.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz App</title>
<!--?========> Favicon <========-->
<link rel="icon" href="./images/quiz.png" />
<!--?========> Google Fonts <========-->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Changa:wght@200;300;400;500;600;700&family=Dosis:wght@200;300;400;500;600;700;800&family=Electrolize&display=swap"
rel="stylesheet"
/>
<!--?========> Bootstrap Icons <========-->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css"
/>
<!--?========> Bootstrap Style Sheet <========-->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
<!--?========> Animate.CSS <========-->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<!--?========> Main style Sheet <========-->
<link rel="stylesheet" href="./CSS/style.css" />
</head>
<body>
<main
class="min-vh-100 d-flex flex-column justify-content-center align-items-center"
>
<div class="heading animate__animated animate__zoomInDown">
<h1 class="mb-0">Quiz App</h1>
</div>
<div class="container">
<div class="row">
<form
class="start-quiz col-lg-8 offset-lg-2 d-flex flex-column gap-3 animate__animated animate__fadeInBottomLeft animate__delay-1s"
id="quizOptions"
>
<div class="form-floating">
<select
class="form-select"
id="categoryMenu"
aria-label="category Select"
>
<option selected value="">Any Category</option>
<option value="9">General Knowledge</option>
<option value="27">Animals</option>
<option value="19">Science: Mathematics</option>
<option value="18">Science: Computers</option>
<option value="22">Geography</option>
</select>
<label for="categoryMenu">Choose Category</label>
</div>
<div class="form-floating">
<select
class="form-select"
id="difficultyOptions"
aria-label="difficulty Select"
>
<option selected value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
<label for="difficultyOptions">Choose Difficulty Level</label>
</div>
<div class="form-floating">
<input
type="number"
class="form-control"
id="questionsNumber"
placeholder="Number of Questions"
/>
<label for="QuestionsNumber">Number of Questions</label>
</div>
<button
type="button"
class="btn btn-start rounded-pill"
id="startQuiz"
>
Start
</button>
</form>
<div class="questions-container"></div>
</div>
</div>
</main>
<!--!========> JS Main file <========-->
<script src="./js/index.js" type="module"></script>
</body>
</html>