-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevel.html
225 lines (218 loc) · 9.35 KB
/
level.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
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-acale=1.0,user-scalable=1">
<title>Quiz</title>
<link rel="stylesheet" type="text/css" href="css/level.css">
</head>
<body>
<div class="qa_box">
<div class="qa_header">
<span>Score: <span id="score">0</span></span>
<span>Time Remains : <span id="countdown">0</span></span>
</div>
<div class="qa_body">
<div class="qa_set active">
<h4>1. CSS stands for - </h4>
<div class="qa_ans_row">
<input type="radio" name="a1">
<span> a. Cascade style sheets </span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a1">
<span>b. Color and style sheets </span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a1" valid="valid">
<span>c. Cascading style sheets </span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a1">
<span>d. None of the above </span>
</div>
</div>
<div class="qa_set">
<h4>2. Which of the following is not a value of the font-variant property in CSS? </h4>
<div class="qa_ans_row">
<input type="radio" name="a2">
<span>a. normal </span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a2">
<span>b. small-caps</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a2">
<span> c. inherit</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a2" valid="valid">
<span>d. large-caps</span>
</div>
</div>
<div class="qa_set">
<h4>3. The property in CSS used to change the background color of an element is -</h4>
<div class="qa_ans_row">
<input type="radio" name="a3">
<span>a. bgcolor</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a3">
<span>b. color</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a3" valid="valid">
<span>c. background-color</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a3">
<span>d. All of the above</span>
</div>
</div>
<div class="qa_set">
<h4>4. The property in CSS used to change the text color of an element is -</h4>
<div class="qa_ans_row">
<input type="radio" name="a4">
<span>bgcolor</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a4" valid="valid">
<span>Color</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a4">
<span>background-color</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>All of the above</span>
</div>
</div>
<div class="qa_set">
<h4> 5. The CSS property used to control the element's font-size is -</h4>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>a.text-style</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>b. text-size</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5" valid="valid">
<span>c. font-size</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>d. None of the above</span>
</div>
</div>
<div class="qa_set">
<h4> 6. Which of the following CSS property is used to set the background image of an element?</h4>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>a. background-attachment</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5" valid="valid">
<span>b. background-image</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>c. background-color</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>d. None of the above</span>
</div>
</div>
<div class="qa_set">
<h4> 7. Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow? </h4>
<div class="qa_ans_row">
<input type="radio" name="a5" valid="valid">
<span>a. p {background-color : yellow;}</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>b. p {background-color : #yellow;}</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>c. all {background-color : yellow;}</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>d. all p {background-color : #yellow;}</span>
</div>
</div>
<div class="qa_set">
<h4> 8. Which of the following is the correct syntax to display the hyperlinks without any underline?</h4>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>a. a {text-decoration : underline;}</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>b. a {decoration : no-underline;}</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5" valid="valid">
<span>c. a {text-decoration : none;} </span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>d. None of the above</span>
</div>
</div>
<div class="qa_set">
<h4> 9. Which of the following property is used as the shorthand property for the padding properties?</h4>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>a. padding-left</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>b. padding-right</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5" valid="valid">
<span>c. padding</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>d. All of the above</span>
</div>
</div>
<div class="qa_set">
<h4> 10. The CSS property used to make the text bold is - </h4>
<div class="qa_ans_row">
<input type="radio" name="a5" valid="valid">
<span>a. font-weight : bold</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>b. weight: bold</span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>c. font: bold </span>
</div>
<div class="qa_ans_row">
<input type="radio" name="a5">
<span>d. style: bold</span>
</div>
</div>
<div class="qa_set">
<h4>Your Total Score is <span id="totalScore"> 0 </span> out of 10 </h4>
</div>
<div class="qa_footer">
<span class="btn1" id="skip"> Skip</span>
</div>
</div>
<a href="index.html">
<h4>Back to Home</h4>
</a>
<script type="text/javascript" src="js/custom.js"></script>
</body>
</html>