-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
734 lines (676 loc) · 27 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
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Covid App</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
</head>
<body>
<div class="jumbotron text-left text-left">
<div class="container">
<div class="row header">
<div class="col-8">
<img src="asset/logo.png" class="img-logo" />
<h3>COVID-19<br />Screening Tool</h3>
<p>
Use this self-assessment tool to help determine whether you need
to be tested for COVID-19.<br /><br />You can complete this
assessment for yourself or on behalf of someone else, if they are
not able.
</p>
</div>
<div class="col-4">
<img src="asset/covid19screen.png" class="img-fluid img-person" />
</div>
</div>
<div class="row">
<button type="button" class="btn btn-primary btn-lg btn-block" data-toggle="modal" data-target="#screening"
onClick="start()">
Start Screening
</button>
</div>
</div>
</div>
<div class="container">
<div class="row list-header">
<div class="col-12">
<h3>More Information</h3><br />
</div>
</div>
<div class="row list" data-toggle="modal" data-target="#covid">
<div class="col-10">
<div class="row">
<div class="col-4">
<div class="icon-round">
<img src="asset/virus 1.png" class="img-fluid" />
</div>
</div>
<div class="col-8 pr-0 pl-0">
<h5>What is COVID-19?</h5>
<p>Coronavirus disease (COVID-19) is an infectious disease ...</p>
</div>
</div>
</div>
<div class="col-2">
<img src="asset/icon.png" class="img-fluid img-arrow" />
</div>
<hr>
</div>
<div class="row list" data-toggle="modal" data-target="#symtomps">
<div class="col-10">
<div class="row">
<div class="col-4">
<div class="icon-round">
<img src="asset/symptoms 1.png" class="img-fluid" />
</div>
</div>
<div class="col-8 pr-0 pl-0">
<h5>What are its Symptoms</h5>
<p>
The COVID-19 virus affects different people in different ways...
</p>
</div>
</div>
</div>
<div class="col-2">
<img src="asset/icon.png" class="img-fluid img-arrow" />
</div>
<hr>
</div>
<div class="row list" data-toggle="modal" data-target="#prevent">
<div class="col-10">
<div class="row">
<div class="col-4">
<div class="icon-round">
<img src="asset/prevent.png" class="img-fluid" />
</div>
</div>
<div class="col-8 pr-0 pl-0">
<h5>How can you prevent it?</h5>
<p>
There's currently no vaccine to prevent coronavirus disease...
</p>
</div>
</div>
</div>
<div class="col-2">
<img src="asset/icon.png" class="img-fluid img-arrow" />
</div>
</div>
<hr>
</div>
<div class="modal fade" id="covid" data-backdrop="static" data-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header" style="background: lightgray">
<img src="asset/logo 1.png" class="img-logo" />
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h3>COVID-19</h3>
<p>
Coronavirus disease (COVID-19) is an infectious disease caused
by a new virus.
</p>
<p>
The disease causes respiratory illness (like the flu) with
symptoms such as a cough, fever, and in more severe cases,
difficulty breathing. You can protect yourself by washing your
hands frequently, avoiding touching your face, and avoiding
close contact (1 meter or 3 feet) with people who are unwell.
</p>
<h5>How it spreads</h5>
<p>
Coronavirus disease spreads primarily through contact with an
infected person when they cough or sneeze. It also spreads
when a person touches a surface or object that has the virus
on it, then touches their eyes, nose, or mouth.
</p>
<a target="_blank" rel="noopener" href="https://www.who.int/emergencies/diseases/novel-coronavirus-2019"
aria-label="Learn more on who.int: Overview">Learn more on who.int →</a>
</div>
<button type="button" class="btn btn-primary btn-lg" style="position: relative;
width: 89%;
margin: 30px 10px;" data-dismiss="modal">Understood</button>
</div>
</div>
</div>
<div class="modal fade" id="prevent" data-backdrop="static" data-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header" style="background: lightgray">
<img src="asset/logo 1.png" class="img-logo" />
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h3>Prevention</h3>
<p>
There's currently no vaccine to prevent coronavirus disease
(COVID-19). You can protect yourself and help prevent
spreading the virus to others if you do the following:
</p>
<ul class="p-0 m-0 list-unstyled item-list">
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/hands.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
Wash your hands regularly with soap and water, or clean
them with alcohol-based hand rub.
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/distance.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
Maintain at least 1 metre distance between you and
people coughing or sneezing.
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/away.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
To help prevent infections, keep your hands away from
your eyes, nose, and mouth.
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/cover.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
Cover your mouth and nose when coughing or sneezing.
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/home.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
Stay home if you feel unwell. Staying home right now
isn't just about keeping you and your family safe—it's
about helping to save the lives of others.
</div>
</div>
</li>
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/lungs.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
Refrain from smoking and other activities that weaken
the lungs.
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/physica.png" class="img-fluid">
</div>
<div class="col-9 my-auto">
Practice physical distancing by avoiding unnecessary
travel and staying away from large groups of people.
</div>
</div>
</li>
</ul>
</div>
<button type="button" class="btn btn-primary btn-lg text-center" style="position: relative;
width: 89%;
margin: 30px 10px;" data-dismiss="modal">Understood</button>
</div>
</div>
</div>
<div class="modal fade" id="symtomps" data-backdrop="static" data-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header" style="background: lightgray">
<img src="asset/logo 1.png" class="img-logo" />
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h3>Symptoms</h3>
<p>
The COVID-19 virus affects different people in different ways.
COVID-19 is a respiratory disease and most infected people
will develop mild to moderate symptoms and recover without
requiring special treatment. People who have underlying
medical conditions and those over 60 years old have a higher
risk of developing severe disease and death.
</p>
<h5>Common symptoms include:</h5>
<ul class="p-0 m-0 list-unstyled item-list">
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/1.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Fever and body aches
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/2.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Dry Cough
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/tirdeness.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Tiredness
</div>
</div>
</li>
<br />
</ul>
<h3>Other symptoms include:</h3>
<br />
<ul class="p-0 m-0 list-unstyled item-list">
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/8.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Pains and aches
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/thorat.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Sore throat
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/4.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Shortness of breath
</div>
</div>
</li>
<br />
<li>
<div class="row">
<div class="col-3 my-auto">
<img src="asset/intestine.png" class="img-fluid" />
</div>
<div class="col-9 my-auto">
Very few people will report diarrhoea, nausea or a runny
nose.
</div>
</div>
</li>
<br />
</ul>
<p>
<h3>Important!</h3>
<br />
People with mild symptoms who are otherwise healthy should
self-isolate and contact their medical provider or a COVID-19
information line for advice on testing and referral. People
with fever, cough or difficulty breathing should call their
doctor and seek medical attention.
</p>
</div>
<button type="button" class="btn btn-primary btn-lg" style="position: relative;
width: 89%;
margin: 30px 10px;" data-dismiss="modal">Understood</button>
</div>
</div>
</div>
<div class="modal fade" id="screening" data-backdrop="static" data-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header" style="background: lightgray">
<img src="asset/logo 1.png" class="img-logo" />
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body question">
<div class="container">
<div class="row q1 text-center active">
<h3>Do you have fever about 104.15?</h3>
<img src="asset/1.png" class="img-logo" />
<br />
<div class="question-bottom">
<button onClick="checkAnswer(1,1,2)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(1,2,2)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"
style="width: 0%;background-color: #007bff !important"></div>
</div>
</div>
</div>
</div>
<div class="row q2 text-center">
<h3>Do you have Cough -Dry Cough</h3>
<img src="asset/2.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(2,1,3)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(2,2,3)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"
style="width: 10%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q3 text-center">
<h3>Do you have Cough - (Wet Cough)?</h3>
<img src="asset/3.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(3,1,4)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(3,2,4)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"
style="width: 20%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q4 text-center">
<h3> Do you have Shortness of Breath?</h3>
<img src="asset/4.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(4,1,5)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(4,2,5)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"
style="width: 30%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q5 text-center">
<h3> Do you have Flu?</h3>
<img src="asset/5.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(5,1,6)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(5,2,6)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"
style="width: 40%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q6 text-center">
<h3>Have you travelled abroad in the last 15 days?</h3>
<img src="asset/6.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(6,1,7)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(6,2,7)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"
style="width: 50%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q7 text-center">
<h3>Have you been in contact with any person who has recently travelled internationally?</h3>
<img src="asset/7.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(7,1,8)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(7,2,8)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
style="width: 60%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q8 text-center">
<h3> Do you have chest infection?</h3>
<img src="asset/8.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(8,1,9)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(8,2,9)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="70" aria-valuemin="0" aria-valuemax="100"
style="width: 70%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q9 text-center ">
<h3>Is your age more than or equal to 60 years of age?</h3>
<img src="asset/9.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(9,1,10)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(9,2,10)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="80" aria-valuemin="0" aria-valuemax="100"
style="width: 80%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row q10 text-center">
<h3>Due to Co-morbidities, do you take any medicine?
</h3>
<img src="asset/10.png" class="img-logo" />
<br />
<div class="text-center question-bottom">
<button onClick="checkAnswer(10,1,0)" class="btn btn-primary btn-lg btn-block" style="width:100%">
Yes ,I do
</button>
<button onClick="checkAnswer(10,2,0)" class="btn btn-primary btn-lg btn-block">
No ,I don't
</button>
</div>
<div class="footer">
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
aria-valuenow="90" aria-valuemin="0" aria-valuemax="100"
style="width: 90%;background-color: #007bff !important"></div>
</div>
</div>
</div>
<div class="row result1">
<h2>Result 1: High Probability of Corona!</h2>
<ol>
<li>Isolate From Others</li>
<li>and Take Care</li>
<li>Call Work Health Providers</li>
<li>Monitor Symptoms</li>
<li>Talk to Someone About Testing</li>
<li>Follow Govt Instructions</li>
</ol>
<br />
<p>As of now, your answers suggest that you may need testing. If anything changes, take the questionnaire
again.
</p>
</div>
<div class="row result2">
<h2>Result 2: Suspected for Corona!</h2>
<ol>
<li>Isolate From Others</li>
<li>Rest and Take Care</li>
<li>Call Work Health Providers</li>
<li>Monitor Symptoms</li>
<li>Talk to Someone About Testing</li>
<li>Follow Govt Instructions</li>
</ol>
<br />
<p>As of now, your answers suggest that you may need testing. If anything changes, take the questionnaire
again.
</p>
</div>
<div class="row result3">
<h2>Result 3: You are all Good!</h2>
<ol>
<li> No Test Needed At This Time</li>
<li>Maintain Social Distance</li>
<li>Avoid groups of people and keep six feet apart from anyone who’s not part of the household. Especially
avoid those showing symptoms</li>
<br />
<p>As of now, their answers suggest they do not need to get tested. If anything changes, take the
questionnaire again.
</p>>
</ol>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var val = [];
function start() {
jQuery('.result1').removeClass("active");
jQuery('.result2').removeClass("active");
jQuery('.result3').removeClass("active");
jQuery('.q1').addClass("active");
}
function checkAnswer(ques, ans, next) {
if (next > 0) {
val[ques] = ans;
jQuery('.question .row').removeClass("active");
jQuery('.q' + next).addClass("active");
//console.log(ans);
//console.log(next);
}
else {
if ((val[1], val[2], val[4], val[8], val[9], val[6] == 1) && (val[3], val[5], val[7], val[10] == 1 || 2)) {
jQuery('.question .row').removeClass("active");
jQuery('.result1').addClass("active");
}
else if ((val[1], val[2], val[4] == 1) && (val[3], val[6], val[5], val[7], val[10] == 1 || 2) && (val[8], val[9] == 1 || 2)) {
jQuery('.question .row').removeClass("active");
jQuery('.result2').addClass("active");
}
else {
jQuery('.question .row').removeClass("active");
jQuery('.result3').addClass("active");
}
}
}
</script>
</body>
</html>