-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (110 loc) · 4.5 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
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouCode Quiz App || DARIM</title>
<link rel="stylesheet" href="style.css">
<!-- FontAwesome CDN Link for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
</head>
<body>
<video id="background-video" autoplay loop muted>
<source src="./Background/BackgroundVideo.mp4" type="video/mp4">
</video>
<!-- <audio id="background-audio" controls autoplay="true">
<source src="./Background/BackgroundMusic.mp3" type="audio/mp3">
</audio> -->
<div class="progress-bar">
<div class="progress-done" id="progress-done">
</div>
</div>
<div class="start">
<!-- Start Quiz Button -->
<div class="start_btn"><button type="">Start Quiz</button></div>
<!-- Info Box -->
<div class="info_box">
<div class="info_title">
<span>
Rules of YouCode Quiz
</span>
</div>
<div class="info_list">
<div class="info">1. You will have only <span>30 seconds</span> per each question.</div>
<div class="info">2. Once you select your answer, you can't reselect. </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>
</div>
<div class="buttons">
<button class="quit">Exit Quiz</button>
<button class="restart">Continue</button>
</div>
</div>
<!-- Quiz Box -->
<div class="quiz_box">
<header>
<div class="small-header">
<div class="title">
YouCode Quiz Application
</div>
<div class="timer">
<div class="time_text">Time Left</div>
<div class="time_sec">30</div>
</div>
</div>
<div class="timer-container">
<div class="time_line"></div>
</div>
</header>
<section>
<div class="que_text">
<!--span>What does PHP stand for?</span>-->
</div>
<div class="option_list">
<!-- <div class="option">
<span>Private Home Page</span>
<div class="icon cross"><i class="fa-solid fa-xmark"></i></div>
</div>
<div class="option">
<span>Personal Hypertext Processor</span>
<div class="icon cross"><i class="fa-solid fa-xmark"></i></div>
</div>
<div class="option">
<span>Hypertext Preprocessor</span>
<div class="icon tick"><i class="fa fa-check"></i></div>
</div>
<div class="option"> -->
<!-- <span>Private Hypertext Processor</span> -->
<!-- <div class="icon cross"><i class="fa-solid fa-xmark"></i></div> -->
<!-- </div> -->
</div>
</section>
<!-- Quiz Box Footer -->
<footer>
<div class="total_que">
<!-- <span style="display: flex;"><p>2</p>Of<p>5</p>Questions</span> -->
</div>
<button class="next_btn">Next Question</button>
</footer>
</div>
<!-- Result box -->
<div class="result_box">
<div class="icon">
<i class="fas fa-crown"></i>
</div>
<div class="complete_text"> You're completed the Quiz!</div>
<div class="score_text">
<!-- <span> and sorry, You got only <p>2</p> out of <p>5</p></span> -->
</div>
<div class="buttons">
<button class="restart">Replay Quiz</button>
<button class="quit">Quit Quiz</button>
</div>
</div>
</div>
<!-- <script src="questions.js"></script> -->
<script src="script.js"></script>
</body>
</html>