-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
424 lines (382 loc) · 20.8 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
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MCQ - a minimal mcq examination system with vanila js</title>
<!-- include fontawosome cdn from cdnjs -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />
<link rel="stylesheet" href="assets/css/mcq.css">
<link rel="stylesheet" href="assets/css/responsive.css">
</head>
<body>
<!-- left side bar -->
<section id="aside_left" class="aside_left">
<div class="aside_left-head">
<div class="title">
<h2 class="h2">
Brilliant Bangladesh
</h2>
<span class="span">MCQ </span>
</div>
</div>
<div class="hr"></div>
<div class="aside_left-body">
<div class="aside_profile">
<div class="profile_img">
<img src="assets/img/avatar.png" alt="" />
<div class="after"></div>
<div class="activity_status"></div>
</div>
<div class="info">
<p>Md. Abdullah Al Momen
<i class="verified fa-solid fa-check-circle"> </i></p>
<p>abdullahalmomen@gmail.com</p>
</div>
</div>
<div class="aside_profile-bottom">
<a href="#"><i class="fa-solid fa-pen"></i>Profile Edit</a>
<a href="#"><i class="fa-solid fa-sign-out"></i>Log out</a>
</div>
<div class="aside_left-tab">
<div class="tab_nav">
<div class="tab_item ">About</div>
<div class="tab_item">Exam</div>
<div class="tab_item">Mark</div>
<div class="tab_item">Position</div>
<div class="tab_item">Settings</div>
</div>
<div class="tab_body">
<div class="tab_content about_content" id="about_content">
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
about content
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
<div>a quic brown fox jumps </div>
</div>
<div class="tab_content exam_content" id="exam_content">
exam content
</div>
<div class="tab_content mark_content" id="mark_content">
mark content
</div>
<div class="tab_content position_content" id="position_content">
position content
</div>
<div class="tab_content settings_content" id="settings_content">
<div class="setting">
<div class="settings">
<div>
<input type="checkbox" name="" id="negative_mark">
</div>
<div>
<label for="negative_mark">Negative Mark</label>
<div class="form_text">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis, iure!
</div>
</div>
</div>
<div class="hr" style="height: 2px; background-color: #ffffff;"></div>
<div class="settings">
<div>
<input type="checkbox" name="" id="selectTopNext">
</div>
<div>
<label for="selectTopNext">Option to Next :</label>
<div class="form_text">
By selecting question option question immediatly submit and get next question.
</div>
</div>
</div>
<div class="hr" style="height: 2px; background-color: #ffffff;"></div>
<div class="settings">
<div>
<input type="checkbox" checked id="optionDisabled">
</div>
<div>
<label for="optionDisabled">Disable Option</label>
<div class="form_text">
When checked one option. another option disabled. If you select one option you
can't
change your choise.
</div>
</div>
</div>
<!-- <div class="hr" style="height: 2px; background-color: #ffffff;"></div> -->
</div>
</div>
</div>
</div>
<!-- <div class="hr"></div> -->
</div>
</section>
<div id="quiz_app">
<button onclick="closeAside()" class='close_btn'>
<i class="fa-solid fa-align-justify"></i>
</button>
<!-- corder element -->
<div class="corner_element">
<div class="corner_item"></div>
<div class="corner_item"></div>
<div class="corner_item"></div>
<div class="corner_item"></div>
</div>
<!-- app element -->
<div class="qiz_header">
<div class="header_body">
<div class="alert">
*Included with Plus and Minus point
</div>
<div class="institute">
Brilliant Bangladesh MCQ Examination
</div>
<div class="h_top">
<div class="group">
<img src="assets/img/gorup.png" style="padding-right: 5px;" alt="" srcset=""> Group - A
</div>
<div class="total_time">
<img src="assets/img/clock.png" style="padding-right:5px">
60 Min
</div>
<div class="total_mark">Mark: 60</div>
</div>
<div class="timeAndMark">
<div>
<div class="left">
<div class="start_time">11:00 AM</div>
<div class="end_time">12:00 PM</div>
</div>
<!-- <p class="span">All Question Are Equal Value</p> -->
</div>
<div class="total_time_left">
<div class="tm_left">
<!-- <img style="padding:5px; border-radius:50px;" src="assets/img/clock.png"> -->
<div class="tm_left_min">59</div>
<span class="min_sec_devider">:</span>
<div class="tm_left_sec">59</div>
</div>
</div>
</div>
</div>
</div>
<div class="exam_layout ">
<!-- header -->
<div class="qiz_body">
<div class="form_wrapper" style="right:0px">
<form action="#" class="exam_form" style="width:100%">
<input type="hidden" name="current_index" id="current_index" value="${currentQuestionIndex}">
<div class="question">
<div class="question_label">question - 01</div>
<div class="question_input">Question</div>
<img class="question_img" src="assets/img/icons8-pen-100.png">
</div>
<hr style="background-color: gray;">
<div class="options">
<div class="option_items">
<input class="option_input" type="radio" name="option" value="" id="option_a">
<label class="option_label" for="option_a">Option A</label>
</div>
<div class="option_items">
<input class="option_input" type="radio" name="option" value="" id="option_b">
<label class="option_label" for="option_b">Option B</label>
</div>
<div class="option_items">
<input class="option_input" type="radio" name="option" value="" id="option_c">
<label class="option_label" for="option_c">Option C</label>
</div>
<div class="option_items">
<input class="option_input" type="radio" name="option" value="" id="option_d">
<label class="option_label" for="option_d">Option D</label>
</div>
</div>
<div class="button">
<div class="question_counter">100 Left</div>
<button type="button" onclick="nextEquestion()" class="sub_btn">Next</button>
</div>
</form>
</div>
</div>
<!-- body. main part -->
<div class="qiz_footer">
<!-- <div class="hr"></div></div> -->
<div class="ff_section">
<div class="ff_confirm">
<input type="checkbox" name="" id="ffc_imp">
<label for="ffc_imp">I'm sure! want to finished and exit exam.</label>
</div>
<button onclick="submitExam()" id="ffC_btn" disabled="disabled" class="button"
style="--clr: #00ad54;">
<span class="button-decor"></span>
<div class="button-content">
<div class="button__icon">
<svg viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg" width="24">
<circle opacity="0.5" cx="25" cy="25" r="23"
fill="url(#icon-payments-cat_svg__paint0_linear_1141_21101)"></circle>
<mask id="icon-payments-cat_svg__a" fill="#fff">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M34.42 15.93c.382-1.145-.706-2.234-1.851-1.852l-18.568 6.189c-1.186.395-1.362 2-.29 2.644l5.12 3.072a1.464 1.464 0 001.733-.167l5.394-4.854a1.464 1.464 0 011.958 2.177l-5.154 4.638a1.464 1.464 0 00-.276 1.841l3.101 5.17c.644 1.072 2.25.896 2.645-.29L34.42 15.93z">
</path>
</mask>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M34.42 15.93c.382-1.145-.706-2.234-1.851-1.852l-18.568 6.189c-1.186.395-1.362 2-.29 2.644l5.12 3.072a1.464 1.464 0 001.733-.167l5.394-4.854a1.464 1.464 0 011.958 2.177l-5.154 4.638a1.464 1.464 0 00-.276 1.841l3.101 5.17c.644 1.072 2.25.896 2.645-.29L34.42 15.93z"
fill="#fff"></path>
<path
d="M25.958 20.962l-1.47-1.632 1.47 1.632zm2.067.109l-1.632 1.469 1.632-1.469zm-.109 2.068l-1.469-1.633 1.47 1.633zm-5.154 4.638l-1.469-1.632 1.469 1.632zm-.276 1.841l-1.883 1.13 1.883-1.13zM34.42 15.93l-2.084-.695 2.084.695zm-19.725 6.42l18.568-6.189-1.39-4.167-18.567 6.19 1.389 4.166zm5.265 1.75l-5.12-3.072-2.26 3.766 5.12 3.072 2.26-3.766zm2.072 3.348l5.394-4.854-2.938-3.264-5.394 4.854 2.938 3.264zm5.394-4.854a.732.732 0 01-1.034-.054l3.265-2.938a3.66 3.66 0 00-5.17-.272l2.939 3.265zm-1.034-.054a.732.732 0 01.054-1.034l2.938 3.265a3.66 3.66 0 00.273-5.169l-3.265 2.938zm.054-1.034l-5.154 4.639 2.938 3.264 5.154-4.638-2.938-3.265zm1.023 12.152l-3.101-5.17-3.766 2.26 3.101 5.17 3.766-2.26zm4.867-18.423l-6.189 18.568 4.167 1.389 6.19-18.568-4.168-1.389zm-8.633 20.682c1.61 2.682 5.622 2.241 6.611-.725l-4.167-1.39a.732.732 0 011.322-.144l-3.766 2.26zm-6.003-8.05a3.66 3.66 0 004.332-.419l-2.938-3.264a.732.732 0 01.866-.084l-2.26 3.766zm3.592-1.722a3.66 3.66 0 00-.69 4.603l3.766-2.26c.18.301.122.687-.138.921l-2.938-3.264zm11.97-9.984a.732.732 0 01-.925-.926l4.166 1.389c.954-2.861-1.768-5.583-4.63-4.63l1.39 4.167zm-19.956 2.022c-2.967.99-3.407 5.003-.726 6.611l2.26-3.766a.732.732 0 01-.145 1.322l-1.39-4.167z"
fill="#fff" mask="url(#icon-payments-cat_svg__a)"></path>
<defs>
<linearGradient id="icon-payments-cat_svg__paint0_linear_1141_21101" x1="25"
y1="2" x2="25" y2="48" gradientUnits="userSpaceOnUse">
<stop stop-color="#fff" stop-opacity="0.71"></stop>
<stop offset="1" stop-color="#fff" stop-opacity="0"></stop>
</linearGradient>
</defs>
</svg>
</div>
<span class="button__text">Finished Exam</span>
</div>
</button>
</div>
<div class="hr" style="background-color: #fff;margin: 8px 0px;"></div>
<div class="footer_body">
<div class="footer_item">01</div>
<div class="footer_item">02</div>
<div class="footer_item">03</div>
<div class="footer_item">04</div>
<div class="footer_item">05</div>
<div class="footer_item">06</div>
<div class="footer_item">07</div>
<div class="footer_item">08</div>
<div class="footer_item">09</div>
<div class="footer_item">10</div>
</div>
</div>
</div>
<div id="setup_exam" class="setup_exam_activ">
<div class="ex_wrapper">
<div class="sx_header">
<div class="title ">
<div class="h5">
Start Exam
</div>
<p class="p">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae, inventore.
</p>
</div>
<!-- <button class="sx_close_btn">×</button> -->
</div>
<hr>
<div class="sx_body">
<div>
<div class="setting_div target_question">
<h4> Question : </h4>
<input type="number" id="target_question_input" placeholder="Question target..."
class="input" value="10" min="10" max="100">
<div class="form_text">
How many question do you want exam between 1 to 100 question.
</div>
</div>
<div class="setting_div">
<h4>
Exam Duration :
</h4>
<input type="number" placeholder="How minute want to take exam" id="examDuration"
class="input" value="10" min="10">
<div class="form_text">
*Given time countable as Minutes
</div>
</div>
<div class="setting_div setting_marks">
<div class="pass_mark">
<h4>
Pass Mark :
</h4>
<input type="number" placeholder="Pass mark in percentage" id="passMark" class="input"
value="10" min="10" max="100">
<div class="form_text">
*Marks will be given if the student get marks more than this value he/she pass the
exam
</div>
</div>
</div>
</div>
<!-- <div class="chose_layout">
<h3>Chose Your Layouts </h3>
<br>
<div class="cl_body">
<div class="cl_left">
<div class="cl_item">
<h4 class="h4">Default View </h4>
<p class="p">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Necessitatibus,
facilis.
</p>
</div>
<div class="cl_item">
<h4 class="h4">Default View </h4>
<p class="p">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Necessitatibus,
facilis.
</p>
</div>
</div>
<div class="cl_right">
<img class="cl_right_item" src="" alt="lorem ipsum color">
</div>
</div>
</div> -->
<button onclick="startExam()" class="start_exam_button">Start Exam</button>
<!-- sx body end -->
</div>
</div>
<!-- setup exam end -->
</div>
<script src="assets/js/function.js"></script>
<script src="assets/js/mcq.js"></script>
</body>
</html>
<!-- <form action="#" class="exam_form" style="width:100%">