-
Notifications
You must be signed in to change notification settings - Fork 34
/
index.html
97 lines (75 loc) · 2.76 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
<!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>Quiz App</title>
<meta name="description" content="Quiz App build with Html css and Javascript free to use opensource ">
<meta name="keywords" content=" quiz-app ">
<meta name="author" content="johnbabu021 johnbabu github.com/johnbabu021">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="manifest" href="quizapp.webmanifest">
</head>
<body>
<header>
<nav><h1 class="headline">Quiz app</h1>
<div class="hamburger"><div></div></div>
</nav>
</header>
<section>
<div class="main__body">
<div class="lds-ring show">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="form hide">
<label class="que"></label>
<div class="grid">
<input type="radio" id="op-1" name="option" value="op-1" class="option" >
<label id="op-1a" for="op-1" class="ans"></label>
<br>
<input type="radio" id="op-2" name="option" value="op-2" class="option">
<label id="op-2a" for="op-2" class="ans"></label>
<br>
<input type="radio" id="op-3" name="option" value="op-3" class="option">
<label id="op-3a" for="op-3" class="ans"></label>
<br>
<input type="radio" id="op-4" name="option" value="op-4" class="option">
<label id="op-4a" for="op-4" class="ans"></label>
</div>
<button type="submit" onclick=onHandleSubmit()>Submit</button>
</div>
<div id="question_switch_info">
<p>Next question will be shown in: </p><span id="timer"></span>
</div>
<div class="reset_container">
<button class="reset__btn" onclick=onHandleReset()>Reset</button>
</div>
<button class="theme_mode" onclick="darkMode()">Dark Mode</button>
</div>
<h1 class="value">result: <span class="total__score"></span></h1>
<div class="score__container">
<h1 class="score"></h1>
<h1>/10</h1>
</div>
</section>
<footer>
<h6>created by john</h6>
<button class="install__btn">install</button>
</footer>
<div class="alert__box">
<h1>YOUR SCORE IS :<span></span></h1>
<button class="reset__btn" onclick=onHandleReset()>Reset<i class="fa fa-refresh fa-spin" style="font-size:24px"></i></button>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<script src="scripts.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/gsap/1.14.2/TweenMax.min.js"></script>
<script src="my-timelinemax-animation.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TimelineMax.min.js"></script>
</body>
</html>