-
Notifications
You must be signed in to change notification settings - Fork 0
/
study.html
958 lines (879 loc) · 31.1 KB
/
study.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
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Study | University of Sam</title>
<link rel="icon" type="image/x-icon" href="./assets/img/uos-icon.png" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css"
integrity="sha256-46qynGAkLSFpVbEBog43gvNhfrOj+BmwXdxFgVK/Kvc="
crossorigin="anonymous"
/>
<!--BOOTSTRAP-->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!--AOS-->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<!-- Fonts -->
<link
href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,900|Source+Sans+Pro:300,900&display=swap"
rel="stylesheet"
/>
<!-- Icons-->
<link
href="https://unpkg.com/[email protected]/css/boxicons.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<!-- Header -->
<header>
<nav class="nav_header" id="nav_head">
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
<a href="./php/staff.php" class="nav__hlink">Staff</a>
<a href="international.html" class="nav__hlink">International</a>
<a href="alumni.html#alumni-welcome" class="nav__hlink">Alumni</a>
<a href="news.html#news" class="nav__hlink">News</a>
<a href="admission.html" class="nav__hlink">Admission</a>
<a href="contact.html" class="nav__hlink">Contact Us</a>
</nav>
</header>
<!-- Logo Section -->
<div class="Logo__Sector">
<div class="Logo__img">
<a href="home.html">
<img src="./assets/img/Logo.png" alt="" />
</a>
</div>
<button class="openBtn" onclick="openSearch()">
<i class="fas fa-search fa-2x" style="color: #000000"></i>
</button>
</div>
<div id="Searchbox" class="Searchbox">
<span class="closebtn" onclick="closeSearch()" title="Close Overlay"
>x</span
>
<div class="Searchbox-content">
<h2 class="mb-3 p-3 text-light">Search Everything Here</h2>
<form id="sub">
<input
type="text"
placeholder="Search.."
name="search"
id="searchInput"
/>
<div id="searchList"></div>
</form>
</div>
</div>
<!-- Navigation Bars -->
<nav class="nav">
<ul class="nav__list">
<li class="nav__dropdownitem">
<a href="study.html#intro" class="nav__link">Study</a>
<table class="dropdown__content">
<tr class="blank">
<td rowspan="8"></td>
</tr>
<tr class="overview">
<td colspan="2">
<a href="study.html#intro" class="nav__ddlink">Overview</a>
</td>
</tr>
<tr class="table_header">
<td>
<a href="find_course.html#intro" class="header__link"
>FIND A COURSE</a
>
</td>
<td>
<a href="study.html#info" class="header__link"
>INFORMATION FOR</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="business.html#courses" class="nav__ddlink">Business</a>
</td>
<td>
<a href="undergraduate.html#intro" class="nav__ddlink"
>Undergraduate Students</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="engineering.html#courses" class="nav__ddlink"
>Engineering</a
>
</td>
<td>
<a href="postgraduate.html#intro" class="nav__ddlink"
>Postgraduate Students</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="health.html#courses" class="nav__ddlink">Health</a>
</td>
<td>
<a href="international.html" class="nav__ddlink"
>International Students</a
>
</td>
</tr>
<tr class="contents">
<td>
<a
href="information_technology.html#courses"
class="nav__ddlink"
>Information Technology</a
>
</td>
<td>
<a href="entry_requirement.html" class="nav__ddlink"
>Entry Requirements</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="security.html#courses" class="nav__ddlink"
>Security, intelligence and criminology</a
>
</td>
<td>
<a href="fees.html#intro" class="nav__ddlink">Fees and costs</a>
</td>
</tr>
</table>
</li>
<li class="nav__dropdownitem">
<a href="curstudent.html#intro" class="nav__link">Current Students</a>
<table class="dropdown__content">
<tr class="blank">
<td rowspan="7"></td>
</tr>
<tr class="overview">
<td colspan="3">
<a href="curstudent.html#intro" class="nav__ddlink">Overview</a>
</td>
</tr>
<tr class="table_header">
<td>
<a href="curstudent.html#oppo" class="header__link"
>OPPORTUNITIES</a
>
</td>
<td>
<a href="curstudent.html#support" class="header__link"
>SUPPORT</a
>
</td>
<td>
<a href="curstudent.html#life" class="header__link"
>Life at UOS</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="scholarship.html#intro" class="nav__ddlink"
>Scholarships</a
>
</td>
<td>
<a href="curstudent.html#access" class="nav__ddlink"
>Accessibility service</a
>
</td>
<td>
<a href="./php/student.php" class="nav__ddlink"
>Student Portal</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="curstudent.html#global" class="nav__ddlink"
>Global opportunities</a
>
</td>
<td>
<a href="curstudent.html#academic" class="nav__ddlink"
>Academic support</a
>
</td>
<td>
<a href="gallery.html#events" class="nav__ddlink">Events</a>
</td>
</tr>
<tr class="contents">
<td>
<a href="curstudent.html#career" class="nav__ddlink"
>Career development</a
>
</td>
<td>
<a href="curstudent.html#health" class="nav__ddlink"
>Health and wellbeing</a
>
</td>
</tr>
</table>
</li>
<li class="nav__dropdownitem">
<a href="gallery.html#Exhibition" class="nav__link">Gallery</a>
<table class="dropdown__content">
<tr class="blank">
<td rowspan="6"></td>
</tr>
<tr class="overview">
<td colspan="2">
<a href="gallery.html#Exhibition" class="nav__ddlink"
>Overview</a
>
</td>
</tr>
<tr class="table_header">
<td>
<a href="gallery.html#Exhibition" class="header__link"
>Exhibitions</a
>
</td>
<td>
<a href="gallery.html#events" class="header__link">Events</a>
</td>
</tr>
<tr class="contents">
<td>
<a href="gallery.html#current" class="nav__ddlink"
>Current Exhibitions</a
>
</td>
<td>
<a href="gallery.html#sports" class="nav__ddlink">Sports</a>
</td>
</tr>
<tr class="contents">
<td>
<a href="gallery.html#future" class="nav__ddlink"
>Upcoming Exhibitions</a
>
</td>
<td>
<a href="gallery.html#activities" class="nav__ddlink"
>Activities</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="gallery.html#past" class="nav__ddlink"
>Past Exhibitions</a
>
</td>
</tr>
</table>
</li>
<li class="nav__dropdownitem">
<a href="about.html#intro" class="nav__link">About Us</a>
<table class="dropdown__content">
<tr class="blank">
<td rowspan="7"></td>
</tr>
<tr class="overview">
<td colspan="3">
<a href="about.html#intro" class="nav__ddlink">Overview</a>
</td>
</tr>
<tr class="table_header">
<td>
<a href="university.html#facilities__about" class="header__link"
>About UOS</a
>
</td>
<td>
<a href="campus.html#service" class="header__link"
>Campus Services</a
>
</td>
<td>
<a href="facilities.html#intro" class="header__link"
>Facilities</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="university.html#vision" class="nav__ddlink"
>Vision and strategy</a
>
</td>
<td>
<a href="campus.html#student" class="nav__ddlink"
>Students life and support</a
>
</td>
<td>
<a href="facilities.html#library" class="nav__ddlink"
>Library</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="campus.html#intro" class="nav__ddlink">Our campus</a>
</td>
<td>
<a href="campus.html#security" class="nav__ddlink"
>Campus security</a
>
</td>
<td>
<a href="facilities.html#cafe" class="nav__ddlink"
>Café, bar and restaurant</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="faculties.html#intro" class="nav__ddlink"
>Our faculties</a
>
</td>
<td>
<a href="campus.html#security" class="nav__ddlink"
>Children and youth</a
>
</td>
</tr>
<tr class="contents">
<td>
<a href="contact.html" class="nav__ddlink"
>Location and contacts</a
>
</td>
</tr>
</table>
</li>
</ul>
</nav>
<!---------- Study Starts --------->
<div class="Study">
<div class="card" id="banner">
<img class="card-img-top" src="./assets/img/study-banner.png" alt="" />
<div class="card-img-overlay">
<h2>Study</h2>
</div>
</div>
<div class="Study-top">
<div class="container">
<nav
style="--bs-breadcrumb-divider: '>'; font-weight: 500"
aria-label="breadcrumb"
>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="home.html">University of Sam</a>
</li>
<li class="breadcrumb-item active" aria-current="page">Study</li>
</ol>
</nav>
</div>
</div>
<div class="container" id="intro">
<div class="row">
<div class="col-lg-6 p-3">
<h3 class="p-3" id="header">Multiply your potential</h3>
<p class="p-3">
At UOS, we equip you for a dynamic job market. With 50% of jobs
changing in a decade, our focus is on a versatile skill set.
Graduate ready to thrive in any industry, ensuring your success in
an ever-evolving professional landscape.
</p>
<p class="p-3">
At UOS, we foster practical know-how and technical skills. Seize
opportunities to explore Myanmar and the world, gain hands-on
experience, and network with our industry and community partners.
</p>
</div>
<div class="col-lg-6 mt-3">
<video controls autoplay muted>
<source src="./assets/video/Uni-Intro.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
</div>
</div>
<div class="study-area">
<h2 class="text-center mt-3 p-3">Course Areas</h2>
<div class="ag-format-container">
<div class="ag-courses_box">
<div class="ag-courses_item">
<a href="business.html#courses" class="ag-courses-item_link">
<div class="ag-courses-item_bg"></div>
<div class="ag-courses-item_title">Business</div>
<div class="ag-courses-item_date-box">
<span class="ag-courses-item_date"> Explore More </span>
</div>
</a>
</div>
<div class="ag-courses_item">
<a href="engineering.html#courses" class="ag-courses-item_link">
<div class="ag-courses-item_bg"></div>
<div class="ag-courses-item_title">Engineering</div>
<div class="ag-courses-item_date-box">
<span class="ag-courses-item_date"> Explore More </span>
</div>
</a>
</div>
<div class="ag-courses_item">
<a href="health.html#courses" class="ag-courses-item_link">
<div class="ag-courses-item_bg"></div>
<div class="ag-courses-item_title">Health</div>
<div class="ag-courses-item_date-box">
<span class="ag-courses-item_date"> Explore More </span>
</div>
</a>
</div>
<div class="ag-courses_item">
<a href="security.html#courses" class="ag-courses-item_link">
<div class="ag-courses-item_bg"></div>
<div class="ag-courses-item_title">
Security, Intelligence and Criminology
</div>
<div class="ag-courses-item_date-box">
<span class="ag-courses-item_date"> Explore More </span>
</div>
</a>
</div>
<div class="ag-courses_item">
<a
href="information_technology.html#courses"
class="ag-courses-item_link"
>
<div class="ag-courses-item_bg"></div>
<div class="ag-courses-item_title">Information Technology</div>
<div class="ag-courses-item_date-box">
<span class="ag-courses-item_date"> Explore More </span>
</div>
</a>
</div>
<div class="ag-courses_item">
<a href="faculties.html#intro" class="ag-courses-item_link">
<div class="ag-courses-item_bg"></div>
<div class="ag-courses-item_title">Faculties</div>
<div class="ag-courses-item_date-box">
<span class="ag-courses-item_date"> Explore More </span>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="container-fluid" id="wahe">
<div class="container">
<div class="row">
<div class="col-md-10">
<h4 class="mt-3 p-3">
We can help you select the course that best matches your career
goals
</h4>
<br />
</div>
<div class="col-md-2 text-center p-3">
<a
href="find_course.html#intro"
type="button"
class="btn btn-lg btn-danger p-3"
>Find a course</a
>
</div>
</div>
</div>
</div>
<div class="info" id="info">
<h2 class="text-center mt-3 p-3">Set your future in motion</h2>
<p class="text-center mt-3 p-3">
Now's the time to get started. Find the information you need based on
your current situation and your career ambitions.
</p>
<div class="info-cont">
<div id="marketing" class="section">
<div class="content">
<h2>Undergraduate</h2>
<a
href="undergraduate.html#intro"
type="button"
class="btn btn-md btn-info mt-3 p-3"
>Explore</a
>
</div>
<div class="overlay"></div>
</div>
<div id="technology" class="section">
<div class="content">
<h2>Postgraduate</h2>
<a
href="postgraduate.html#intro"
type="button"
class="btn btn-md btn-primary mt-3 p-3"
>Explore</a
>
</div>
<div class="overlay"></div>
</div>
<div id="advertising" class="section">
<div class="content">
<h2>International</h2>
<a
href="international.html"
type="button"
class="btn btn-md btn-info mt-3 p-3"
>Explore</a
>
</div>
<div class="overlay"></div>
</div>
</div>
</div>
<div class="container mt-3">
<h2 class="text-center mt-3 p-3">Why study at UOS</h2>
<p class="text-center mt-3 p-3">
Our progressive approach sets us apart from other universities – and
you apart from other graduates. UOS combines a reputation for
world-class education with unique opportunities to grow beyond the
classroom.
</p>
<hr />
<div class="row mt-3" id="facilities__about" data-aos="zoom-in">
<div class="col-md-3 mt-3 p-3 text-center">
<img
src="./assets/img/medal.png"
alt=""
height="128px"
class="mx-auto"
/>
<br />
<h4>Top 1% of universities globally</h4>
<p>National Student Survey (NSS) 2023</p>
</div>
<div class="col-md-3 mt-3 p-3 text-center">
<img
src="./assets/img/stars.png"
alt=""
height="128px"
class="mx-auto"
/>
<br />
<h4>1st in Myanmar</h4>
<p>QS World University Rankings</p>
</div>
<div class="col-md-3 mt-3 p-3 text-center">
<img
src="./assets/img/accommodation.png"
alt=""
height="128px"
class="mx-auto"
/>
<br />
<h4>$1 billion invested</h4>
<p>Study at a world-class campus</p>
</div>
<div class="col-md-3 mt-3 p-3 text-center">
<img
src="./assets/img/group.png"
alt=""
height="128px"
class="mx-auto"
/>
<br />
<h4>215,000 alumni</h4>
<p>Graduates come from more than 140 countries</p>
</div>
<br />
<hr />
</div>
</div>
<div class="blahh p-3">
<div class="container">
<h2 class="text-center mt-3 p-3">Make UOS your destination</h2>
<p class="text-secondary text-center mt-3 p-3">
Tailored entry designed for you. Find out how to start an exciting
new chapter with us.
</p>
</div>
<ol style="--length: 5" role="list">
<li style="--i: 1">
<h3>Choosing a Course</h3>
<p>Choose where you want to go and what you want to study</p>
<a
href="find_course.html#intro"
type="button"
class="btn btn-md btn-danger p-3 mt-3"
>Find a course</a
>
</li>
<li style="--i: 2">
<h3>Entry requirements</h3>
<p>
Find out what's required to study an undergraduate or postgraduate
degree
</p>
<a
href="entry_requirement.html"
type="button"
class="btn btn-md btn-warning p-3 mt-3"
>Find out more</a
>
</li>
<li style="--i: 3">
<h3>Fees and costs</h3>
<p>
Learn more about tuition fees for your desired course at
University of Sam
</p>
<a
href="fees.html#intro"
type="button"
class="btn btn-md p-3 mt-3"
id="fees"
>Find out more</a
>
</li>
<li style="--i: 4">
<h3>Scholarships</h3>
<p>
Explore our wide range of scholarships and see if you're eligible
</p>
<a
href="scholarship.html#intro"
type="button"
class="btn btn-md p-3 mt-3"
id="scholar"
>View scholarships</a
>
</li>
<li style="--i: 5">
<h3>How to apply</h3>
<p>View our application process to study at University of Sam</p>
<a
href="how_to_apply.html#intro"
type="button"
class="btn btn-md p-3 mt-3"
id="hta"
>Find out more</a
>
</li>
</ol>
</div>
</div>
<!---------- Study Ends --------->
<div id="progress">
<span id="progress-value">🠕</span>
</div>
<!---------- Footer Starts --------->
<footer>
<div class="footer">
<br />
<table class="footer__cont">
<tr class="footer_header">
<td><a class="footer__hlink">Quick links</a></td>
<td><a class="footer__hlink">Information for</a></td>
<td><a class="footer__hlink">Faculties, schools and college</a></td>
<td><a class="footer__hlink">Media</a></td>
<td><a class="footer__hlink">Contact us</a></td>
</tr>
<tr class="footer_contents">
<td><a href="home.html" class="footer__link">Home</a></td>
<td>
<a href="study.html#intro" class="footer__link"
>Future Students</a
>
</td>
<td>
<a
href="faculty_of_business.html#welcome-business"
class="footer__link"
>Faculty of Business</a
>
</td>
<td>
<a href="gallery.html#Exhibition" class="footer__link">Gallery</a>
</td>
<td>
<a href="contact.html" class="footer__link"
>Location and contacts</a
>
</td>
</tr>
<tr class="footer_contents">
<td>
<a href="find_course.html#intro" class="footer__link"
>Find a course</a
>
</td>
<td>
<a href="international.html" class="footer__link"
>International Students</a
>
</td>
<td>
<a
href="faculty_of_health.html#welcome-health"
class="footer__link"
>Faculty of Health</a
>
</td>
<td>
<a href="gallery.html#events" class="footer__link">Events</a>
</td>
</tr>
<tr class="footer_contents">
<td>
<a href="how_to_apply.html#intro" class="footer__link"
>How to apply</a
>
</td>
<td>
<a href="recognition.html" class="footer__link"
>Recognition of Prior Learning</a
>
</td>
<td>
<a href="faculty_of_science.html#wahaha" class="footer__link"
>Faculty of Science and Engineering</a
>
</td>
<td><a href="news.html#news" class="footer__link">News</a></td>
<td>
<a href="https://github.com/Sam-mx" class="footer__icon"
><i class="bx bxl-facebook-circle"></i
></a>
<a href="https://github.com/Sam-mx" class="footer__icon"
><i class="bx bxl-twitter"></i
></a>
<a href="https://github.com/Sam-mx" class="footer__icon"
><i class="bx bxl-instagram"></i
></a>
<a
href="https://www.youtube.com/channel/UCrcNBJstILOoDvFMM1CmXIQ"
class="footer__icon"
><i class="bx bxl-youtube"></i
></a>
<a href="https://github.com/Sam-mx" class="footer__icon"
><i class="bx bxl-linkedin"></i
></a>
</td>
</tr>
<tr class="footer_contents">
<td><a href="admission.html" class="footer__link">Admission</a></td>
<td>
<a href="scholarship.html#intro" class="footer__link"
>Scholarships</a
>
</td>
</tr>
</table>
</div>
<p class="footer__copy">© Copyright UOS. All Rights Reserved</p>
</footer>
<!---------- Footer Ends --------->
<script src="./assets/js/index.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
//Top Button
let calcScrollValue = () => {
let scrollProgress = document.getElementById("progress");
let progressValue = document.getElementById("progress-value");
let pos = document.documentElement.scrollTop;
let calcHeight =
document.documentElement.scrollHeight -
document.documentElement.clientHeight;
let scrollValue = Math.round((pos * 100) / calcHeight);
if (pos > 100) {
scrollProgress.style.display = "grid";
} else {
scrollProgress.style.display = "none";
}
scrollProgress.addEventListener("click", () => {
document.documentElement.scrollTop = 0;
});
scrollProgress.style.background = `conic-gradient(#16a7e0 ${scrollValue}%, #d7d7d7 ${scrollValue}%)`;
};
window.onscroll = calcScrollValue;
window.onload = calcScrollValue;
</script>
<script>
function openSearch() {
document.getElementById("Searchbox").style.display = "block";
}
// Close the full screen search box
function closeSearch() {
document.getElementById("Searchbox").style.display = "none";
}
const sub = document.getElementById("sub"); //get the form id
const input = document.getElementById("searchInput"); //get the search input id
const searchList = document.getElementById("searchList"); //get the search list where you want your searched item to display
//search the info.json file and filter it in the search box to appear when searched
const searchInfo = async (searchJson) => {
//am using Es6 arrow function here
const response = await fetch("./assets/js/info.json"); //get the json file into your javascript
const info = await response.json(); //add the .json to the file to make it into a json in the javascript
//make the searched term in the search box to match what is in the json file and filter it
let list = info.filter((infos) => {
const infoReg = new RegExp(`^${searchJson}`, "gi"); //the ^ in the REgExp means that only the first letter of the searched value will searched eg i want money to be searched by the first m not the other letters in it
//the 'gi' above means you can search with both uppercase and lowercase letter and still get the same search value
return infos.name.match(infoReg); //return what you what the json file to be searched with
//as for me i want it to be searched with the name but you can choose anything you want either searched with url or number
});
//how to check if there is no value in the search box and if there is none then don't show anything
if (searchJson.length == 0) {
list = [];
searchList.innerHTML = ""; //makes the info searched to be removed if there is no searched term/word in the input
}
//call the outputInfo function inside the here
outputInfo(list);
};
//creating what will be be displayed when you type in your search
const outputInfo = (list) => {
if (list.length > 0) {
//add the search value you want to show when you search the page
const inputValue = list
.map(
(info) => `
<div class="card card-body p-3" style="background: #eee;">
<h3 class="text-start"><a href="${info.url}" target="_self" id="search-link">${info.name}</a></h3>
</div>
`
)
.join("");
// add the searched value(inputValue) to the div in index.html (searchList)
searchList.innerHTML = inputValue;
}
};
// add Eventlistener to the input
sub.addEventListener("input", (e) => {
// e.preventDefault(); //stop it from actually submiting the file
searchInfo(input.value); //
// input.value = ''; //after searching remove the value in the input
});
</script>
</body>
</html>