-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (104 loc) · 4.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Simple Quiz App</title>
<!-- Google fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=KoHo:wght@500&family=Poppins&display=swap" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<!-- Start Quiz Button -->
<div class="start-quiz-btn">
<button class="start">Start Quiz</button>
</div>
<div class="creater">
<h1>Created by: </h1>
<h2><i>V Yeshwanth</i></h2>
</div>
<!-- Quiz Rules -->
<div class="quiz-rules-block">
<div class="quiz-rules-header">
<h1>Some Rules of this Quiz</h1>
</div>
<div class="quiz-rules">
<h3>1. You will have only <span>15 seconds</span> per each questions.</h3>
<h3>2. once you select you anser, it can't be undone.</h3>
<h3>3. You can't select any option once time goes off.</h3>
<h3>4. You can't exit from the Quiz while you're playing.</h3>
<h3>5. You'll get points on the basis of your correct answers.</h3>
</div>
<div class="quiz-btns">
<button class="exit">Exit Quiz</button>
<button class="continue">Continue</button>
</div>
</div>
<!-- Quiz Box -->
<div class="quiz-box">
<!-- Header Quiz Box -->
<header>
<div class="quiz-box-title">
<h2>JS Quiz Application</h2>
</div>
<div class="quiz-timer">
<div class="quiz-timer-text">Time Left</div>
<div class="quiz-timer-sec">15</div>
</div>
<div class="time-line"></div>
<div class="close-btn">
<i class="fas fa-times"></i>
</div>
</header>
<!-- Section -->
<section>
<div class="quiz-box-ques">
<!-- <h2>What does HTML Stand for?</h2> -->
</div>
<div class="quiz-box-option">
<!-- <span class="option">Hyper Text Preprocessor</span> -->
<div class="cross"><i class="fas fa-times"></i></i></i></div>
</div>
<div class="quiz-box-option">
<!-- <span class="option correct">Hyper Text Markup Language</span> -->
<div class="tick"><i class="fas fa-check"></i></div>
</div>
<div class="quiz-box-option">
<!-- <span class="option">Hyper Text Multiple Language</span> -->
<div class="cross"><i class="fas fa-times"></i></div>
</div>
<div class="quiz-box-option">
<!-- <span class="option">Hyper Tool Multi Language</span> -->
<div class="cross"><i class="fas fa-times"></i></div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="quiz-ques-attend">
<span><p>1</p>of<p>5</p>Questions</span>
</div>
<div class="next-btn">
<button class="next-btn-inner">Next Ques</button>
</div>
</footer>
</div>
<!-- Result Box -->
<div class="result-box">
<div class="crown">
<i class="fas fa-crown"></i>
</div>
<div class="some-content">
<h1>You've Completed the Quiz!.</h1>
<h2>and Sorry, You got Only <p>2</p>out of<p>5</p>.</h2>
</div>
<div class="result-btns">
<button class="restart">Restart Quiz</button>
<button class="quit">Quit Quiz</button>
</div>
</div>
</body>
<script src="/question.js"></script>
<script src="/app.js"></script>
</html>