generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest_yourself.html
895 lines (872 loc) · 39.9 KB
/
test_yourself.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
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Bootstrap CDN-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
<!--Fontawesome CDN-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" />
<!--Favicon-->
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<!--Link to custom style sheet-->
<link rel="stylesheet" href="assets/css/style.css" type="text/css" />
<title>Physics Code - Test Yourself</title>
<meta property="og:url" content="https://pauld0051.github.io/physics-code/index.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Physics Code" />
<meta property="og:description" content="A free web resource for Physics students." />
<meta property="og:image" content="https://pauld0051.github.io/physics-code/assets/images/logo-main.png" />
</head>
<body>
<header>
<!-- Logo and text in Navbar-->
<nav class="navbar navbar-expand-custom navbar-light navbar-custom bg-info no-gutters">
<a class="navbar-brand" href="index.html">
<img src="assets/images/logo-main.png" width="30" height="30" class="d-inline-block align-top" alt="Physics Code Logo" loading="lazy">
Physics Code
</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link nav-text" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link nav-text" href="calculator.html">Calculator</a>
</li>
<li class="nav-item">
<a class="nav-link nav-text" href="help.html">Help</a>
</li>
<li class="nav-item">
<a class="nav-link nav-text" href="game.html">Game</a>
</li>
<li class="nav-item active">
<a class="nav-link nav-text" href="test_yourself.html">Test yourself <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link nav-text" href="contact.html">Contact</a>
</li>
</ul>
<span class="navbar-text rightside-navigation-text">
Don't let physics control you - take control of physics!
</span>
</div>
</nav>
</header>
<div class="mb-1"></div>
<section class="container">
<div class="row">
<div class="col-12 title-div">
<div class="container heading-background heading-padding heading-margin-top">
<h1>Test Yourself <i class="fas fa-pencil-ruler"></i></h1>
<p class="head-text">There are five maps to choose from in this test where you'll need to measure the intersection distance for a given
scenario to calculate if a dilemma or option zone exists. You can refer to our help by clicking on the info button
<a href="help.html" target="_blank" class="info-icon"> <i class="fas fa-info-circle"></i></a> at any time. Or consider using
our <a href="calculator.html" target="_blank"><i class="fas fa-calculator"></i> <span class="underline">calculator</span></a> for best results.</p>
<p class="head-text">For help on the coefficient of friction click here:
<button type="button" class="btn btn-link" data-toggle="modal" data-target="#frictionHelp">
<i class="far fa-question-circle"></i></button></p>
<p class="head-text">For instructions on how to measure distances across the intersection using Google Maps choose one of the following:</p>
<div class="d-flex">
<ul class="list-group list-group-horizontal mx-auto justify-content-center flex-column flex-md-row background-ul">
<li class="list-group-item background-ul">
<a href="https://support.google.com/maps/answer/1628031?co=GENIE.Platform%3DDesktop&hl=en" target="_blank">
<span class="btn btn-primary btn-blue btn-rounded btn-block help--button"><i class="fas fa-desktop"></i> Desktop</span></a></li>
<li class="list-group-item background-ul">
<a href="https://support.google.com/maps/answer/1628031?co=GENIE.Platform%3DAndroid&hl=en" target="_blank">
<span class="btn btn-primary btn-blue btn-rounded btn-block help--button"><i class="fab fa-android"></i> Android</span></a></li>
<li class="list-group-item background-ul">
<a href="https://support.google.com/maps/answer/1628031?co=GENIE.Platform%3DiOS&hl=en" target="_blank">
<span class="btn btn-primary btn-blue btn-rounded btn-block help--button"><i class="fab fa-apple"></i> iOS</span></a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Friction help modal -->
<div class="modal fade" id="frictionHelp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">coefficient of friction list</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
Table 1: A list of common coefficient of friction numbers
<table class="table table-hover">
<thead class="thead--blue">
<tr>
<th scope="col">#</th>
<th scope="col">Tire Conditions</th>
<th scope="col">Weather Conditions</th>
<th scope="col">μ</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Good</td>
<td>Dry</td>
<td>0.8 - 0.9</td>
</tr>
<tr class="table-info">
<th scope="row">2</th>
<td>Good</td>
<td>Wet</td>
<td>0.6 - 0.7</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Good</td>
<td>Snowy</td>
<td>0.4 - 0.5</td>
</tr>
<tr class="table-info">
<th scope="row">4</th>
<td>Good</td>
<td>Icy</td>
<td>0.1 - 0.3</td>
</tr>
<tr>
<th scope="row">5</th>
<td>Average</td>
<td>Dry</td>
<td>0.75 - 0.8</td>
</tr>
<tr class="table-info">
<th scope="row">6</th>
<td>Average</td>
<td>Wet</td>
<td>0.5 - 0.6</td>
</tr>
<tr>
<th scope="row">7</th>
<td>Average</td>
<td>Snowy</td>
<td>0.3 - 0.4</td>
</tr>
<tr class="table-info">
<th scope="row">8</th>
<td>Average</td>
<td>Icy</td>
<td>0.1 - 0.2</td>
</tr>
<tr>
<th scope="row">9</th>
<td>Bad</td>
<td>Dry</td>
<td>0.7 - 0.75</td>
</tr>
<tr class="table-info">
<th scope="row">10</th>
<td>Bad</td>
<td>Wet</td>
<td>0.4 - 0.5</td>
</tr>
<tr>
<th scope="row">11</th>
<td>Bad</td>
<td>Snowy</td>
<td>0.2 - 0.3</td>
</tr>
<tr class="table-info">
<th scope="row">12</th>
<td>Bad</td>
<td>Icy</td>
<td>0.1</td>
</tr>
</tbody>
</table>
<small>Some estimation is required for the calculation of μ which may lead to slightly altered results comparing to our calculator.
This is because the calculation includes some randomness to account for realistic scenarios.</small>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">
<i class="far fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</div>
<!-- Map One-->
<section class="container">
<div class="row">
<div class="col-12 title-div">
<div class="container heading-background heading-padding heading-margin">
<h2>Map One</h2>
<p class="card-text">
Map one is located in Moscow, Russia at Tverskaya Zastava Square.
</p>
</div>
</div>
</div>
<div class="row mb--1">
<div class="col-lg-4 content-div">
<div class="card shadow" id="card-map-1">
<i class="fas fa-map-marker-alt fa-5x icon-center"></i>
<div class="card-body">
<h5 class="card-title">Scenario One <a href="help.html" target="_blank" class="info-icon"> <i class="fas fa-info-circle"></i></a></h5>
<p>Determine the size of the intersection using the Google Map link provided. Then click on the <i class="fas fa-car-battery"></i> <em>scene</em>
button and use the data provided to establish if a dilemma zone exists under these conditions.</p>
</div>
</div>
</div>
<div class="col-lg-8 content-div">
<div class="card shadow" id="card-map-large-1">
<div class="card-body">
<p>Click on the map on or near the marker (make sure you're in satellite mode)
and once you have established road names you can turn off labels for ease in measuring the intersection.</p>
<p>Measure the intersection length from the south east and continuing north west on Leningradsky Ave over Tverskaya Zastava Square.</p>
<div class="container" id="map_one"></div>
<div class="text-center mybuttons">
<button
class="btn btn-primary btn-lgt-blue form--button mt-2 mb-1 btn-rounded mapVariables"
id="mapOne"
data-toggle="modal"
data-backdrop="static"
data-keyboard="false"
data-target="#mapOneModal">
<i class="fas fa-car-battery fa2x"></i> Scene</button>
</div>
</div>
</div>
</div>
</div>
<!-- Map Two-->
<div class="row">
<div class="col-12 title-div">
<div class="container heading-background heading-padding heading-margin">
<h2>Map Two</h2>
<p class="card-text">
Map two is located in Sydney, Australia where the M7 is crossed by Sunnyholt Road.
</p>
</div>
</div>
</div>
<div class="row mb--1">
<div class="col-lg-4 content-div">
<div class="card shadow" id="card-map-2">
<i class="fas fa-map-marker-alt fa-5x icon-center"></i>
<div class="card-body">
<h5 class="card-title">Scenario Two <a href="help.html" target="_blank" class="info-icon"> <i class="fas fa-info-circle"></i></a></h5>
<p>Determine the size of the intersection using the Google Map link provided. Then click on the <i class="fas fa-car-battery"></i> <em>scene</em>
button and use the data provided to establish if a dilemma zone exists under these conditions.</p>
</div>
</div>
</div>
<div class="col-lg-8 content-div">
<div class="card shadow" id="card-map-large-2">
<div class="card-body">
<p>Click on the map on or near the marker (make sure you're in satellite mode)
and once you have established road names you can turn off labels for ease in measuring the intersection.</p>
<p>Measure the intersection length heading from the south west continuing north east on Sunnyholt Road over the M7.</p>
<div class="container" id="map_two"></div>
<div class="text-center mybuttons">
<button
class="btn btn-primary btn-lgt-blue form--button mt-2 mb-1 btn-rounded mapVariables"
id="mapTwo"
data-toggle="modal"
data-backdrop="static"
data-keyboard="false"
data-target="#mapTwoModal">
<i class="fas fa-car-battery fa2x"></i> Scene</button>
</div>
</div>
</div>
</div>
</div>
<!-- Map Three-->
<div class="row">
<div class="col-12 title-div">
<div class="container heading-background heading-padding heading-margin">
<h2>Map Three</h2>
<p class="card-text">
Map three is located in Ashburn, Virginia in the USA where the Harry Byrd Highway is intersected by Lexington Drive.
</p>
</div>
</div>
</div>
<div class="row mb--1">
<div class="col-lg-4 content-div">
<div class="card shadow" id="card-map-3">
<i class="fas fa-map-marker-alt fa-5x icon-center"></i>
<div class="card-body">
<h5 class="card-title">Scenario Three <a href="help.html" target="_blank" class="info-icon"> <i class="fas fa-info-circle"></i></a></h5>
<p>Determine the size of the intersection using the Google Map link provided. Then click on the <i class="fas fa-car-battery"></i> <em>scene</em>
button and use the data provided to establish if a dilemma zone exists under these conditions.</p>
</div>
</div>
</div>
<div class="col-lg-8 content-div">
<div class="card shadow" id="card-map-large-3">
<div class="card-body">
<p>Click on the map on or near the marker (make sure you're in satellite mode)
and once you have established road names you can turn off labels for ease in measuring the intersection.</p>
<p>Measure the intersection length heading from the south west continuing north east on Lexington Drive over the Harry Byrd Highway.</p>
<div class="container" id="map_three"></div>
<div class="text-center mybuttons">
<button
class="btn btn-primary btn-lgt-blue form--button mt-2 mb-1 btn-rounded mapVariables"
id="mapThree"
data-toggle="modal"
data-backdrop="static"
data-keyboard="false"
data-target="#mapThreeModal">
<i class="fas fa-car-battery fa2x"></i> Scene</button>
</div>
</div>
</div>
</div>
</div>
<!-- Map Four -->
<div class="row">
<div class="col-12 title-div">
<div class="container heading-background heading-padding heading-margin">
<h2>Map Four</h2>
<p class="card-text">
Map four is located in Nürnberg, Germany at Sigmundstraße and Leyher Street.
</p>
</div>
</div>
</div>
<div class="row mb--1">
<div class="col-lg-4 content-div">
<div class="card shadow" id="card-map-4">
<i class="fas fa-map-marker-alt fa-5x icon-center"></i>
<div class="card-body">
<h5 class="card-title">Scenario Four <a href="help.html" target="_blank" class="info-icon"> <i class="fas fa-info-circle"></i></a></h5>
<p>Determine the size of the intersection using the Google Map link provided. Then click on the <i class="fas fa-car-battery"></i> <em>scene</em>
button and use the data provided to establish if a dilemma zone exists under these conditions.</p>
</div>
</div>
</div>
<div class="col-lg-8 content-div">
<div class="card shadow" id="card-map-large-4">
<div class="card-body">
<p>Click on the map on or near the marker (make sure you're in satellite mode)
and once you have established road names you can turn off labels for ease in measuring the intersection.</p>
<p>Measure the intersection length heading from the east continuing west on Sigmundstraße over Leyher Street.</p>
<div class="container" id="map_four"></div>
<div class="text-center mybuttons">
<button
class="btn btn-primary btn-lgt-blue form--button mt-2 mb-1 btn-rounded mapVariables"
id="mapFour"
data-toggle="modal"
data-backdrop="static"
data-keyboard="false"
data-target="#mapFourModal">
<i class="fas fa-car-battery fa2x"></i> Scene</button>
</div>
</div>
</div>
</div>
</div>
<!-- Map Five-->
<div class="row">
<div class="col-12 title-div">
<div class="container heading-background heading-padding heading-margin">
<h2>Map Five</h2>
<p class="card-text">
Map five is located in Dublin at Northside where Constitution Hill is intersected by Western Way.
</p>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 content-div">
<div class="card shadow" id="card-map-5">
<i class="fas fa-map-marker-alt fa-5x icon-center"></i>
<div class="card-body">
<h5 class="card-title">Scenario Five <a href="help.html" target="_blank" class="info-icon"> <i class="fas fa-info-circle"></i></a></h5>
<p>Determine the size of the intersection using the Google Map link provided. Then click on the <i class="fas fa-car-battery"></i> <em>scene</em>
button and use the data provided to establish if a dilemma zone exists under these conditions.</p>
</div>
</div>
</div>
<div class="col-lg-8 content-div">
<div class="card shadow" id="card-map-large-5">
<div class="card-body">
<p>Click on the map on or near the marker (make sure you're in satellite mode)
and once you have established road names you can turn off labels for ease in measuring the intersection.</p>
<p>Measure the intersection length heading from the south continuing north on Constitution Hill.</p>
<div class="container" id="map_five"></div>
<div class="text-center mybuttons">
<button
class="btn btn-primary btn-lgt-blue form--button mt-2 mb-1 btn-rounded mapVariables"
id="mapFive"
data-toggle="modal"
data-backdrop="static"
data-keyboard="false"
data-target="#mapFiveModal">
<i class="fas fa-car-battery fa2x"></i> Scene</button>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<!-- Modals for Scenarios -->
<!-- Map One-->
<div class="modal fade" id="mapOneModal" tabindex="-1" role="dialog" aria-hidden="true">
<form id="mapOneForm">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Random Scenario for Map One</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The initial velocity is <strong><span id="mapOneInitialVelocity"></span></strong></p>
<p>Yellow light phase is <strong><span id="mapOnePhase"></span></strong></p>
<p>The interphase is <strong><span id="mapOneRlPhase"></span></strong></p>
<p>The driver's reaction time is <strong><span id="mapOneRtRandom"></span></strong></p>
<p>The vehicle's tire conditions are described as <strong><span id="mapOneTireCondition"></span></strong></p>
<p>The weather conditions are described as <strong><span id="mapOneWeatherCondition"></span></strong></p>
<p>The vehicle is <strong><span id="mapOneCarLength"></span></strong> m long</p>
<p>If you would like a new scenario, close this pop-up and click <i class="fas fa-car-battery"></i><em> Scene</em>.</p>
<h4>Your answers</h4>
<div>
<div class="form-check">
<p>Choose one option</p>
<input
class="form-check-input"
type="radio"
name="mapOneZone"
id="mapOneDzChecked"
value="mapOneDzChecked" checked>
<label class="form-check-label" for="mapOneDzChecked">
Dilemma Zone present
</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="mapOneZone"
id="mapOneOzChecked"
value="mapOneOzChecked">
<label class="form-check-label" for="mapOneOzChecked">
Option Zone present
</label>
</div><br>
<p>Input your value for the zone in metres (remove any negative sign and max 2 decimal places)</p>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Your calculation</span>
</div>
<input
type="number"
id="mapOneUserInput"
class="form-control checkValid"
autocomplete="off"
min="0"
max="99999"
step="0.01"
aria-label="input value for your zone"
placeholder="e.g 12.34"
required>
<div class="input-group-append d-block">
<input type="reset" id="mapOneReset" class="btn btn-danger" aria-label="reset your value">
</div>
<small id="mapOneInvalidResponse"></small>
</div>
<div><span id="mapOneResultOne"></span></div>
<div><span id="mapOneResultTwo"></span></div>
<div><span id="mapOneResultThree"></span></div>
</div> <!-- End of the first modal-->
<div class="modal-footer">
<button type="button" id="mapOneSubmit" class="btn btn-success btn-submit mapSubmit" disabled>✓ Submit</button>
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="far fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</div>
</form>
</div>
<!-- Map two-->
<div class="modal fade" id="mapTwoModal" tabindex="-1" role="dialog" aria-hidden="true">
<form>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Random Scenario for Map Two</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The initial velocity is <strong><span id="mapTwoInitialVelocity"></span></strong></p>
<p>Yellow light phase is <strong><span id="mapTwoPhase"></span></strong></p>
<p>The interphase is <strong><span id="mapTwoRlPhase"></span></strong></p>
<p>The driver's reaction time is <strong><span id="mapTwoRtRandom"></span></strong></p>
<p>The vehicle's tire conditions are described as <strong><span id="mapTwoTireCondition"></span></strong></p>
<p>The weather conditions are described as <strong><span id="mapTwoWeatherCondition"></span></strong></p>
<p>The vehicle is <strong><span id="mapTwoCarLength"></span></strong> m long</p>
<p>If you would like a new scenario, close this pop-up and click <i class="fas fa-car-battery"></i><em> Scene</em>.</p>
<h4>Your answers</h4>
<div class="form-check">
<p>Choose one option</p>
<input
class="form-check-input"
type="radio"
name="mapTwoZone"
id="mapTwoDzChecked"
value="mapTwoDzChecked" checked>
<label class="form-check-label" for="mapTwoDzChecked">
Dilemma Zone present
</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="mapTwoZone"
id="mapTwoOzChecked"
value="mapTwoOzChecked">
<label class="form-check-label" for="mapTwoOzChecked">
Option Zone present
</label>
</div><br>
<p>Input your value for the zone in metres (remove any negative sign and max 2 decimal places)</p>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Your calculation</span>
</div>
<input
type="number"
id="mapTwoUserInput"
class="form-control checkValid"
autocomplete="off"
min="0"
max="99999"
step="0.01"
aria-label="input value for your zone"
placeholder="e.g 12.34"
required>
<div class="input-group-append d-block">
<input type="reset" id="mapTwoReset" class="btn btn-danger" aria-label="reset your value">
</div>
<small id="mapTwoInvalidResponse"></small>
</div>
<div><span id="mapTwoResultOne"></span></div>
<div><span id="mapTwoResultTwo"></span></div>
<div><span id="mapTwoResultThree"></span></div>
</div> <!-- End of second modal-->
<div class="modal-footer">
<button type="button" id="mapTwoSubmit" class="btn btn-success btn-submit" disabled>✓ Submit</button>
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="far fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</form>
</div>
<!-- Map three -->
<div class="modal fade" id="mapThreeModal" tabindex="-1" role="dialog" aria-hidden="true">
<form>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Random Scenario for Map Three</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The initial velocity is <strong><span id="mapThreeInitialVelocity"></span></strong></p>
<p>Yellow light phase is <strong><span id="mapThreePhase"></span></strong></p>
<p>The interphase is <strong><span id="mapThreeRlPhase"></span></strong></p>
<p>The driver's reaction time is <strong><span id="mapThreeRtRandom"></span></strong></p>
<p>The vehicle's tire conditions are described as <strong><span id="mapThreeTireCondition"></span></strong></p>
<p>The weather conditions are described as <strong><span id="mapThreeWeatherCondition"></span></strong></p>
<p>The vehicle is <strong><span id="mapThreeCarLength"></span></strong> m long</p>
<p>If you would like a new scenario, close this pop-up and click <i class="fas fa-car-battery"></i><em> Scene</em>.</p>
<h4>Your answers</h4>
<div class="form-check">
<p>Choose one option</p>
<input
class="form-check-input"
type="radio"
name="mapThreeZone"
id="mapThreeDzChecked"
value="mapThreeDzChecked" checked>
<label class="form-check-label" for="mapThreeDzChecked">
Dilemma Zone present
</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="mapThreeZone"
id="mapThreeOzChecked"
value="mapThreeOzChecked">
<label class="form-check-label" for="mapThreeOzChecked">
Option Zone present
</label>
</div><br>
<p>Input your value for the zone in metres (remove any negative sign and max 2 decimal places)</p>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Your calculation</span>
</div>
<input
type="number"
id="mapThreeUserInput"
class="form-control checkValid"
autocomplete="off"
min="0"
max="99999"
step="0.01"
aria-label="input value for your zone"
placeholder="e.g 12.34"
required>
<div class="input-group-append d-block">
<input type="reset" id="mapThreeReset" class="btn btn-danger" aria-label="reset your value">
</div>
<small id="mapThreeInvalidResponse"></small>
</div>
<div><span id="mapThreeResultOne"></span></div>
<div><span id="mapThreeResultTwo"></span></div>
<div><span id="mapThreeResultThree"></span></div>
</div><!-- End of Modal three-->
<div class="modal-footer">
<button type="button" id="mapThreeSubmit" class="btn btn-success btn-submit" disabled>✓ Submit</button>
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="far fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</form>
</div>
<!-- Map four -->
<div class="modal fade" id="mapFourModal" tabindex="-1" role="dialog" aria-hidden="true">
<form>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Random Scenario for Map Four</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The initial velocity is <strong><span id="mapFourInitialVelocity"></span></strong></p>
<p>Yellow light phase is <strong><span id="mapFourPhase"></span></strong></p>
<p>The interphase is <strong><span id="mapFourRlPhase"></span></strong></p>
<p>The driver's reaction time is <strong><span id="mapFourRtRandom"></span></strong></p>
<p>The vehicle's tire conditions are described as <strong><span id="mapFourTireCondition"></span></strong></p>
<p>The weather conditions are described as <strong><span id="mapFourWeatherCondition"></span></strong></p>
<p>The vehicle is <strong><span id="mapFourCarLength"></span></strong> m long</p>
<p>If you would like a new scenario, close this pop-up and click <i class="fas fa-car-battery"></i><em> Scene</em>.</p>
<h4>Your answers</h4>
<div class="form-check">
<p>Choose one option</p>
<input
class="form-check-input"
type="radio"
name="mapFourZone"
id="mapFourDzChecked"
value="mapFourDzChecked" checked>
<label class="form-check-label" for="mapFourDzChecked">
Dilemma Zone present
</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="mapFourZone"
id="mapFourOzChecked"
value="mapFourOzChecked">
<label class="form-check-label" for="mapFourOzChecked">
Option Zone present
</label>
</div><br>
<p>Input your value for the zone in metres (remove any negative sign and max 2 decimal places)</p>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Your calculation</span>
</div>
<input
type="number"
id="mapFourUserInput"
class="form-control checkValid"
autocomplete="off"
min="0"
max="99999"
step="0.01"
aria-label="input value for your zone"
placeholder="e.g 12.34"
required>
<div class="input-group-append d-block">
<input type="reset" id="mapFourReset" class="btn btn-danger" aria-label="reset your value">
</div>
<small id="mapFourInvalidResponse"></small>
</div>
<div><span id="mapFourResultOne"></span></div>
<div><span id="mapFourResultTwo"></span></div>
<div><span id="mapFourResultThree"></span></div>
</div> <!-- End of modal Four-->
<div class="modal-footer">
<button type="button" id="mapFourSubmit" class="btn btn-success btn-submit" disabled>✓ Submit</button>
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="far fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</form>
</div>
<!-- Map five -->
<div class="modal fade" id="mapFiveModal" tabindex="-1" role="dialog" aria-hidden="true">
<form>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Random Scenario for Map Five</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The initial velocity is <strong><span id="mapFiveInitialVelocity"></span></strong></p>
<p>Yellow light phase is <strong><span id="mapFivePhase"></span></strong></p>
<p>The interphase is <strong><span id="mapFiveRlPhase"></span></strong></p>
<p>The driver's reaction time is <strong><span id="mapFiveRtRandom"></span></strong></p>
<p>The vehicle's tire conditions are described as <strong><span id="mapFiveTireCondition"></span></strong></p>
<p>The weather conditions are described as <strong><span id="mapFiveWeatherCondition"></span></strong></p>
<p>The vehicle is <strong><span id="mapFiveCarLength"></span></strong> m long</p>
<p>If you would like a new scenario, close this pop-up and click <i class="fas fa-car-battery"></i><em> Scene</em>.</p>
<h4>Your answers</h4>
<div class="form-check">
<p>Choose one option</p>
<input
class="form-check-input"
type="radio"
name="mapFiveZone"
id="mapFiveDzChecked"
value="mapFiveDzChecked" checked>
<label class="form-check-label" for="mapFiveDzChecked">
Dilemma Zone present
</label>
</div>
<div class="form-check">
<input
class="form-check-input"
type="radio"
name="mapFiveZone"
id="mapFiveOzChecked"
value="mapFiveOzChecked">
<label class="form-check-label" for="mapFiveOzChecked">
Option Zone present
</label>
</div><br>
<p>Input your value for the zone in metres (remove any negative sign and max 2 decimal places)</p>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Your Calculation</span>
</div>
<input
type="number"
id="mapFiveUserInput"
class="form-control checkValid"
autocomplete="off"
min="0"
max="99999"
step="0.01"
aria-label="input value for your zone"
placeholder="e.g 12.34"
required>
<div class="input-group-append d-block">
<input type="reset" id="mapFiveReset" class="btn btn-danger" aria-label="reset your value">
</div>
<small id="mapFiveInvalidResponse"></small>
</div>
<div><span id="mapFiveResultOne"></span></div>
<div><span id="mapFiveResultTwo"></span></div>
<div><span id="mapFiveResultThree"></span></div>
</div> <!-- End of modal five-->
<div class="modal-footer">
<button type="button" id="mapFiveSubmit" class="btn btn-success btn-submit" disabled>✓ Submit</button>
<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="far fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</form>
</div>
</section>
<div class="mb-1"></div>
<!-- Footer -->
<footer class="page-footer font-small darken-3">
<!-- Footer Elements -->
<div class="container">
<!-- Grid row-->
<div class="row">
<!-- Grid column -->
<div class="col-md-12 py-5">
<div class="mb-5 text-center">
<!-- Facebook -->
<a class="fb-icon" href="https://www.facebook.com" target="_blank">
<i class="fab fa-facebook-f fa-lg mr-md-5 mr-3 fa-2x"></i>
</a>
<!-- Twitter -->
<a class="tw-icon" href="https://www.twitter.com" target="_blank">
<i class="fab fa-twitter fa-lg mr-md-5 mr-3 fa-2x"></i>
</a>
<!--Linkedin -->
<a class="li-icon" href="https://www.linkedin.com" target="_blank">
<i class="fab fa-linkedin-in fa-lg mr-md-5 mr-3 fa-2x"></i>
</a>
<!--Instagram-->
<a class="ins-icon" href="https://www.instagram.com" target="_blank">
<i class="fab fa-instagram fa-lg mr-md-5 mr-3 fa-2x"></i>
</a>
<!--Pinterest-->
<a class="pin-icon" href="https://www.pinterest.com" target="_blank">
<i class="fab fa-pinterest fa-lg fa-2x"></i>
</a>
</div>
</div>
<!-- Grid column -->
</div>
<!-- Grid row-->
</div>
<!-- Footer Elements -->
<!-- Copyrightand Facebook Share -->
<div class="container text-center">
<div class="fb-share-button" data-href="https://pauld0051.github.io/physics-code/index.html" data-layout="button" data-size="large">
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fpauld0051.github.io%2Fphysics-code%2Findex.html&src=sdkpreparse"
class="fb-xfbml-parse-ignore">Share</a></div>
</div>
<div class="footer-copyright text-center py-3">© 2020 Copyright:
<a href="index.html">Physics Code</a><br>
<a href="privacy.html" target="_blank">Privacy Policy</a><br>
<a href="terms.html" target="_blank">Terms and Conditions</a>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="assets/scripts/maps.js"></script>
<script src="assets/scripts/dependencies.js"></script>
<script src="assets/scripts/test_yourself.js"></script>
<script src="https://unpkg.com/@google/[email protected]/dist/markerclustererplus.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBWKHz27Q-E_mW5wHULLj6Wgap3VOjrCbs&callback=initMap"></script>
<div id="fb-root"></div>
<script src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v8.0&appId=335490644461179&autoLogAppEvents=1" nonce="HYRkFRRQ"></script>
</body>
</html>