-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (96 loc) · 3.4 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
<!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>Code Quiz</title>
<link rel="stylesheet" href="style.css">
<!-- Icons from fontawesome -->
<script src="https://kit.fontawesome.com/5758ce3c54.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- Page 1.- Start page -->
<div class="start-btn">
<button>Start Quiz</button>
</div>
<!-- Page 2.- Info page -->
<div class="info-box">
<div class="info-title">
<span>Some Rules of the Quiz</span>
</div>
<div class="info-list">
<div class="info">1. You will have <span>120 second</span> for the quiz.</div>
<div class="info">2. Once answer is selected, cant be reselectd.</div>
<div class="info">3. Incorrect answer will subtract <span>20 seconds.<span></div>
<div class="info">4. Timer will only stop when all questions are answered.</div>
<div class="info">5. Good Luck, Have fun!</div>
</div>
<div class="info-button">
<button class="quit">Exit Quiz</button>
<button class="restart">Start Quiz</button>
</div>
</div>
<!-- Page 3.- Question page -->
<div class="quiz-box">
<header>
<div class="title">Code Quiz</div>
<div class="timer">
<div class="sec">120</div>
<div class="timer-text">Second Left</div>
</div>
</header>
<section>
<div class="quiz-text">
</div>
<div class="option-list">
<!-- option display fram work -->
<!-- <div class="option">
<span>A. Compiling</span>
<div class="icon-tick"><i class="far fa-check-circle"></i></div>
</div>
<div class="option">
<span>B. Executing</span>
<div class="icon-cross"><i class="far fa-times-circle"></i></div>
</div>
<div class="option">
<span>C. Scanning</span>
</div>
<div class="option">
<span>D. Debugging</span>
</div> -->
</div>
</section>
<footer>
<button class="next-btn">Next One</button>
</footer>
</div>
<!-- Page 4. Result page -->
<div class="result-box">
<div class="icon">
<i class="fas fa-trophy"></i>
</div>
<div class="complete-text">You've Complete the Quiz!</div>
<div class="score-text">
<span>You scored<p class="score">0</p> out of 120</span>
</div>
<textarea name="name" id="input" cols="30" rows="1" placeholder="Please Enter Your Name Here"></textarea>
<div class="btns">
<button class="quit">Scoreboard</button>
</div>
</div>
<!-- Page 5. Scoreboard -->
<div class="scoreboard-box">
<div class="scoreboard-title">
<span>Scoreboard</span>
</div>
<ul class="scoreboard"></ul>
<div class="scoreboard-btn">
<button class="restart">Replay Quiz</button>
<button class="clear">Clear</button>
</div>
</div>
<script src="questions.js"></script>
<script src="script.js"></script>
</body>
</html>