-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdrstrangequiz.html
More file actions
165 lines (126 loc) · 3.8 KB
/
drstrangequiz.html
File metadata and controls
165 lines (126 loc) · 3.8 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!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>
<link rel="stylesheet" href="style.css">
</head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap%27');
*{
margin: 0;
padding:0;
font-weight: 300;
font-family: 'Montserrat', sans-serif;
}
html{
font-size: 62.5%;
}
.main-div{
width: 100vw;
min-height: 100vh;
display: grid;
place-items: center;
background-image: url(images/hope2.jpg);
background-repeat: no-repeat;
background-size: auto;
}
.inner-div{
color:white;
width: 40vw;
background-color: #28282B;
padding: 3rem 8rem;
border-radius: 1rem;
box-shadow: 0 1rem 1rem rgba(0,0,0,0.4)
}
.inner-div h2{
font-size: 3.5rem;
font-weight: 400;
margin: 1rem 0 4rem 0;
}
.inner-div li{
font-size: 2rem;
margin-top: 1.5rem;
list-style: none;
}
input{
cursor:pointer;
}
#submit,
.btn{
color:white;
padding:1rem 3rem;
outline: none;
font-size: 2rem;
font-weight: 400;
display: block;
margin: auto;
border: none;
text-transform: uppercase;
background-color:rgba(14, 89, 92, 0.521);
margin-top: 4rem;
}
#submit:hover{
background-color:rgb(27, 71, 71);
}
#showScore{
background-color:#000000;
margin-top: 3rem;
padding: 3rem 4 rem;
box-shadow: 0 1rem 1rem rgba(0,0,0,0.4);
}
#showScore h3 {
font-size: 3rem;
text-align: center;
}
#showScore .btn{
margin-top: 2rem;
background-color: #55efc4;
color: #2d3436;
}
#showScore .btn:hover{
background-color: #00b894;
color: #ffff;
}
.scoreArea{
display:none;
}
</style>
<body>
<div class="main-div">
<div class="inner-div">
<!-- you are close to the hint---->
<h2 class="question">Question here</h2>
<ul>
<li>
<input type="radio" name="answer" id="ans1" class="answer">
<label for="ans1" id="option1"> Answer option</label>
</li>
<li>
<input type="radio" name="answer" id="ans2" class="answer">
<label for="ans1" id="option2"> Answer option</label>
</li>
<li>
<input type="radio" name="answer" id="ans3" class="answer">
<label for="ans1" id="option3"> Answer option</label>
</li>
<li>
<input type="radio" name="answer" id="ans4" class="answer">
<label for="ans1" id="option4"> Answer option</label>
</li>
</ul>
<button id="submit">submit</button>
<!-- 1st encrypted question: encrypted using base64---->
<!-- 2nd encrypted question: encrypted using rot47---->
<!-- 3rd encrypted question: encrypted using base64---->
<!-- 4th encrypted question: encrypted using rot13---->
<!-- 5th encrypted question: encrypted using base64 (you may have to do it more than once) ---->
<div id="showScore" class="scoreArea">
</div>
</div>
</div>
<script src="script2.js"></script>
</body>
</html>