-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
85 lines (77 loc) · 3.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Awesome Quiz App | Mohammad Asad Khan</title>
<link rel="stylesheet" href="Css/style.css">
<!-- FontAweome CDN Link for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<script src="JS/questions.js" defer></script>
<script src="JS/app.js" defer></script>
</head>
<body>
<div class="start-btn"><button>Start Quiz</button></div>
<!-- Info-Box HTML-->
<div class="info-box">
<header>
<span>Some Rules of the Quiz</span>
</header>
<section class="info-list ">
<div class="info">1. You will have only <span>15 seconds</span> per each question.</div>
<div class="info">2. Once you select your answer, it can't be undone.</div>
<div class="info">3. You can't select any option once time goes off.</div>
<div class="info">4. You can't exit from the Quiz while you're playing.</div>
<div class="info">5. You'll get points on the basis of your correct answers.</div>
</section>
<div class="buttons">
<button class="btn quit">Exit</button>
<button class="btn continue">Continue</button>
</div>
</div>
<!-- QuizBox HTML -->
<div class="quizBox">
<header>
<span class="title">Awesome Quiz Application</span>
<div class="timer">
<span class="timer_left">Time Left</span>
<span class="timer_num">15</span>
</div>
</header>
<div class="time_line"><div class="percent"></div></div>
<section class="quesWrapper">
<div class="question"><!--Adding content through JS--></div>
<div class="option_list">
<!-- <div class="option"><span>Hyper Text Preprocessor</span></div>
<div class="option correct"><span>Hyper Text Markup Language</span><i class="ri-check-line"></i></div>
<div class="option"><span>Hyper Text Multiple Language</span></div>
<div class="option wrong"><span>Hyper Tool Multi Language</span><i class="ri-close-line"></i></div> -->
</div>
</section>
<footer>
<div class="ques_num">
<!-- <span><b>1</b> of <b>5</b> Questions</span> -->
</div>
<div class="buttons">
<button class="btn choosing">Next Ques</button>
</div>
</footer>
</div>
<!--Result box HTML -->
<!-- Result Box -->
<div class="result_box">
<div class="icon">
<i class="fas fa-crown"></i>
</div>
<div class="complete_text">You've completed the Quiz!</div>
<div class="score_text">
<!-- Here I've inserted Score Result from JavaScript -->
</div>
<div class="buttons">
<button class="btn restart">Replay Quiz</button>
<button class="btn quit">Quit Quiz</button>
</div>
</div>
</body>
</html>