-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
758 lines (690 loc) · 38.1 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
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
<!doctype html>
<html lang="zxx">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/animate.min.css">
<link rel="stylesheet" href="assets/fonts/remixicon.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/owl.theme.default.min.css">
<link rel="stylesheet" href="assets/css/metismenu.min.css">
<link rel="stylesheet" href="assets/css/simplebar.min.css">
<link rel="stylesheet" href="assets/css/dropzone.min.css">
<link rel="stylesheet" href="assets/css/magnific-popup.css">
<link rel="stylesheet" href="assets/css/odometer.min.css">
<link rel="stylesheet" href="assets/css/meanmenu.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="assets/css/responsive.css">
<link rel="stylesheet" href="assets/css/theme-dark.css">
<title>eDvance - Home</title>
<link rel="icon" type="image/png" href="assets/images/favicon.png">
</head>
<body>
<div class="preloader">
<div class="d-table">
<div class="d-table-cell">
<div class="spinner"></div>
</div>
</div>
</div>
<div class="navbar-area">
<div class="mobile-responsive-nav">
<div class="container-fluid">
<div class="mobile-responsive-menu">
<div class="logo">
<a href="index.html">
<img src="assets/images/logo.png" class="logo-one" alt="Logo">
<img src="assets/images/logo-2.png" class="logo-two" alt="Logo">
</a>
</div>
</div>
</div>
</div>
<div class="desktop-nav desktop-nav-one nav-area">
<div class="container-fluid">
<nav class="navbar navbar-expand-md navbar-light ">
<a class="navbar-brand" href="index.html">
<img src="assets/images/logo.png" class="logo-one" alt="Logo">
<img src="assets/images/logo-2.png" class="logo-two" alt="Logo">
</a>
<div class="collapse navbar-collapse mean-menu" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a href="index.html" class="nav-link">
Home
</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">
About Us
</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link">
Contact Us
</a>
</li>
<!-- <li class="nav-item">
<a href="#" class="nav-link">
Languages
<i class="ri-arrow-down-s-line"></i>
</a>
<ul class="dropdown-menu">
<li class="nav-item">
<button class="backtr" onclick="changeLanguage1()">
<a class="nav-link"> English </a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('bn')">
<a class="nav-link">Bengali</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('kn')">
<a class="nav-link">Kannada</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('hi')">
<a class="nav-link">Hindi</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('pa')">
<a class="nav-link">Punjabi</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('gu')">
<a class="nav-link">Gujrathi</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('mr')">
<a class="nav-link">Marathi</a>
</button>
</li>
</ul>
</li> -->
<li class="nav-item">
<a href="#" class="nav-link">
More
<i class="ri-arrow-down-s-line"></i>
</a>
<ul class="dropdown-menu">
<li class="nav-item">
<a href="categories.html" class="nav-link">
Career Guides
</a>
</li>
<li class="nav-item">
<a href="aptitude.html" class="nav-link">
Aptitude Test
</a>
<ul class="dropdown-menu">
<li class="nav-item">
<a href="categories.html" class="nav-link">
Career Guides
</a>
</li>
<li class="nav-item">
<a href="aptitude.html" class="nav-link">
Aptitude Test
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="others-options d-flex align-items-center">
<div class="navbar-nav">
<li class="nav-item">
<a class="nav-link">
<i class="" id="lightMode-icon"></i>
</a>
</li>
<li> </li>
</div>
<!-- <div class="optional-item">
<a href="student-info.html" class="default-btn two border-radius-5">Get Started
<i class="ri-user-3-line"></i></a>
</div> -->
<div class="optional-item">
<a href="ai-chat.html" class="default-btn border-radius-5">AI Chat
<i class="ri-user-5-line"></i></a>
</div>
</div>
</div>
</nav>
</div>
</div>
<div class="side-nav-responsive">
<div class="container-max">
<div class="dot-menu">
<div class="circle-inner">
<div class=""><i class="" id="lightMode-icon1"></i></div>
</div>
</div>
</div>
</div>
</div>
<div class="banner-area">
<div class="container-fluid">
<div class="row align-items-center">
<div class="col-lg-7">
<div class="banner-content">
<h1 class="animate__animated animate__fadeInLeft" data-animate-delay="000ms"
data-animate-duration="1000ms"><b>eDvance</b> - <span id="toph1">India's Best AI Powered Career Counseling Platform</span></h1>
<p class="animate__animated animate__fadeInLeft" data-animate-delay="100ms"
data-animate-duration="1000ms" id="discop">
Discover your Path, Connect with Experts and Excel in your Journey.
</p>
<div class="side-nav-item animate__animated animate__fadeInLeft"
style="margin-top: -10px; margin-bottom: 10px">
<a href="student-info.html" class="default-btn border-radius-5" id="getsta">
Get Started <i class="ri-briefcase-2-line "></i>
</a>
</div>
</div>
</div>
<div class="col-lg-5">
<div class="banner-img">
<img src="assets/images/home-one/home-one-img.png" alt="Banner Images"
class="marg animate fadeInUp" data-animate-delay="000ms" data-animate-duration="1000ms">
<div class="banner-img-shape">
<div class="shape1 animate__animated animate__fadeInUp" data-animate-delay="100ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/home-one-icon4.png" alt="Image">
</div>
<div class="shape2 animate__animated animate__fadeInUp" data-animate-delay="200ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/user1.jpg" alt="Image">
</div>
<div class="shape3 animate fadeInUp" data-animate-delay="300ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/user2.jpg" alt="Image">
</div>
<div class="shape4 animate__animated animate__fadeInUp" data-animate-delay="400ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/home-one-icon1.png" alt="Image">
</div>
<div class="shape5 animate__animated animate__fadeInUp" data-animate-delay="500ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/user3.jpg" alt="Image">
</div>
<div class="shape6 animate fadeInUp" data-animate-delay="500ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/home-one-icon2.png" alt="Image">
</div>
<div class="shape7 animate__animated animate__fadeInUp" data-animate-delay="500ms"
data-animate-duration="1000ms" data-speed="0.08" data-revert="true">
<img src="assets/images/home-one/home-one-icon3.png" alt="Image">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="banner-shape">
<div class="shape-in-one">
<img src="assets/images/home-one/shape1.png" alt="Images">
</div>
<div class="shape-in-two">
<img src="assets/images/home-one/shape2.png" alt="Images">
</div>
</div>
</div>
<div class="browse-jobs-area pt-100 pb-70">
<div class="container">
<div class="section-title text-center">
<h2 id="chkex">Checkout Exciting Careers</h2>
<div class="bar m-auto"></div>
<!-- <p class="m-auto">144 jobs live - 20 added today.</p> -->
</div>
<div class="row pt-45 justify-content-center">
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-hotel-line"></i>
</div>
<h3><a href="management.html" id="man1">Management</a></h3>
<p id="man2">(5 possible opportunities)</p>
<a href="management.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-computer-line"></i>
</div>
<h3><a href="engineering.html" id="en1">Engineering</a></h3>
<p id="en2">(8 possible opportunities)</p>
<a href="engineering.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-heart-add-line"></i>
</div>
<h3><a href="medicine.html" id="med1">Medicine</a></h3>
<p id="med2">(7 possible opportunities)</p>
<a href="medicine.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-line-chart-line"></i>
</div>
<h3><a href="designgraphics.html" id="de1">Design & Graphics</a></h3>
<p id="de2">(5 possible opportunities)</p>
<a href="designgraphics.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-vip-crown-line"></i>
</div>
<h3><a href="graduate.html" id="gra1">Graduate</a></h3>
<p id="gra2">(6 possible opportunities)</p>
<a href="graduate.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-stack-line"></i>
</div>
<h3><a href="financeandaccounts.html" id="fi1">Finance & Accounts</a></h3>
<p id="fi2">(5 possible opportunities)</p>
<a href="financeandaccounts.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-pencil-line"></i>
</div>
<h3><a href="educationandtraining.html" id="edu1">Education & Training</a></h3>
<p id="edu2">(4 possible opportunities)</p>
<a href="educationandtraining.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-group-line"></i>
</div>
<h3><a href="civilservices.html" id="c1">Civil Services</a></h3>
<p id="c2">(5 possible opportunities)</p>
<a href="civilservices.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="browse-jobs-card">
<div class="icon">
<i class="ri-movie-line"></i>
</div>
<h3><a href="mediaandjournalism.html" id="m1">Media & Journalism</a></h3>
<p id="m2">(5 possible opportunities)</p>
<a href="mediaandjournalism.html" class="more-btn"><i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
<div class="col-lg-12 text-center">
<div class="browse-btn">
<a href="categories.html" id="brow"> Browse All Categories <i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
</div>
</div>
</div>
<div class="find-jobs-area pt-100 pb-70">
<div class="container">
<div class="section-title text-center">
<h2 id="someh2">Some Popular Careers</h2>
<div class="bar m-auto"></div>
<!-- <p class="m-auto">144 jobs live - 20 added today.</p> -->
</div>
<div class="row pt-45">
<div class="col-lg-12">
<div class="find-jobs-card d-flex align-items-center">
<div class="find-jobs-img">
<a href="careerdetails.html?careerid=aiml">
<img src="assets/images/engineering/aiml.jpg" alt="Images" height="150px" width="150px">
</a>
</div>
<div class="content">
<ul class="content-list">
<!-- <li class="time">Full Time</li>
<li class="freelance">Freelance</li>
<li class="internship">Internship</li> -->
</ul>
<h3><a href="careerdetails.html?careerid=aiml" id="mle1">Machine Learning Engineer</a></h3>
<ul class="content-list2">
<!-- <li class="list-one"> Business Name</li> -->
<li class="list-two" id="mle2"><i class="ri-survey-line"></i> Qualification : Bachelor of
Technology (B.Tech)</li>
</ul>
<ul class="content-list3">
<li id="mle3"><i class="ri-briefcase-line"></i> Category : <b>Engineering</b></li>
<!-- <li><i class="ri-map-pin-line"></i> Location : <b>305 Hicks St Brooklyn, NY</b></li> -->
<li id="mle4"><i class="ri-time-line"></i>Duration : <b>4 Years</b></li>
</ul>
</div>
<div class="find-jobs-btn">
<a href="careerdetails.html?careerid=aiml" class="default-btn border-radius-5" id="mle5">Explore
Now<i class="ri-send-plane-2-line"></i></a>
</div>
<!-- <button class="bookmark-btn"><i class="ri-bookmark-line"></i></button> -->
</div>
</div>
<div class="col-lg-12">
<div class="find-jobs-card d-flex align-items-center">
<div class="find-jobs-img">
<a href="careerdetails.html?careerid=surgeon">
<img src="assets/images/medical/s.jpg" alt="Images" height="150px"
width="150px">
</a>
</div>
<div class="content">
<ul class="content-list">
<!-- <li class="time">Full Time</li>
<li class="freelance">Freelance</li>
<li class="internship">Internship</li> -->
</ul>
<h3><a href="careerdetails.html?careerid=surgeon" id="sur1">Surgeon</a></h3>
<ul class="content-list2">
<!-- <li class="list-one"> Business Name</li> -->
<li id="sur2" class="list-two"><i class="ri-survey-line" ></i> Qualification : Master of Surgery
(MS)</li>
</ul>
<ul class="content-list3">
<li id="sur3"><i class="ri-briefcase-line"></i> Category : <b>Medicine</b></li>
<!-- <li><i class="ri-map-pin-line"></i> Location : <b>305 Hicks St Brooklyn, NY</b></li> -->
<li id="sur4"><i class="ri-time-line"></i>Duration : <b>8 Years</b></li>
</ul>
</div>
<div class="find-jobs-btn">
<a href="careerdetails.html?careerid=surgeon" class="default-btn border-radius-5" id="sur5">Explore
Now<i class="ri-send-plane-2-line"></i></a>
</div>
<!-- <button class="bookmark-btn"><i class="ri-bookmark-line"></i></button> -->
</div>
</div>
<div class="col-lg-12">
<div class="find-jobs-card d-flex align-items-center">
<div class="find-jobs-img">
<a href="careerdetails.html?careerid=ent">
<img src="assets/images/graduate/entrepreneur.jpg" alt="Images" height="150px"
width="150px">
</a>
</div>
<div class="content">
<ul class="content-list">
<!-- <li class="time">Full Time</li>
<li class="freelance">Freelance</li>
<li class="internship">Internship</li> -->
</ul>
<h3><a href="careerdetails.html?careerid=ent" id="ent1">Entrepreneur</a></h3>
<ul class="content-list2">
<!-- <li class="list-one"> Business Name</li> -->
<li class="list-two" id="ent2"><i class="ri-survey-line"></i> Qualification : Any Bachelor's
Degree</li>
</ul>
<ul class="content-list3">
<li id="ent3"><i class="ri-briefcase-line"></i> Category : <b>Graduate</b></li>
<!-- <li><i class="ri-map-pin-line"></i> Location : <b>305 Hicks St Brooklyn, NY</b></li> -->
<li id="ent4"><i class="ri-time-line"></i>Duration : <b>2 years</b></li>
</ul>
</div>
<div class="find-jobs-btn">
<a href="careerdetails.html?careerid=ent" id="ent5" class="default-btn border-radius-5">Explore
Now<i class="ri-send-plane-2-line"></i></a>
</div>
</div>
</div>
<div class="col-lg-12 text-center">
<div class="browse-btn">
<a href="categories.html" id="loadtr"> Load More Careers <i class="ri-arrow-right-s-line"></i></a>
</div>
</div>
</div>
</div>
</div>
<div class="testimonials-widget-area ptb-100">
<div class="container">
<div class="testimonials-widget-slider owl-carousel owl-theme">
<div class="testimonials-widget-item">
<h3 id="n1">Shristi Dutta</h3>
<span id="n11">Student</span>
<div class="content-img">
<img src="assets/images/testimonials/testimonials-img-shristi.jpg" alt="Images">
</div>
<P id="n12">After using this AI-based career counseling tool, I feel more confident about my future. It provided valuable insights into my strengths and interests, making the decision-making process clearer.</P>
</div>
<div class="testimonials-widget-item">
<h3 id="n2">Tanmoy Mondal</h3>
<span id="n21">Student</span>
<div class="content-img">
<img src="assets/images/testimonials/testimonials-img-tanmoy.jpg" alt="Images">
</div>
<P id="n22">The AI career counseling tool offered personalized insights based on my strengths. It clarified my career options, leaving me more confident in my choices. A valuable tool for students!</P>
</div>
<div class="testimonials-widget-item">
<h3 id="n3">Bilash Mallick</h3>
<span id="n31">Student</span>
<div class="content-img">
<img src="assets/images/testimonials/testimonials-img-bilash.jpg" alt="Images">
</div>
<P id="n32">I had doubts about my career path, but this website offered clear guidance for my future. It evaluated my strengths and recommended fitting options. It's an excellent resource for students exploring their career options.</P>
</div>
</div>
</div>
</div>
<footer class="footer-area" id="footer"></footer>
<script>
$.get("footer.html", function(data){
$("#footer").replaceWith(data);
});
</script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/jquery.magnific-popup.min.js"></script>
<script src="assets/js/odometer.min.js"></script>
<script src="assets/js/jquery.appear.min.js"></script>
<script src="assets/js/meanmenu.min.js"></script>
<script src="assets/js/metismenu.min.js"></script>
<script src="assets/js/simplebar.min.js"></script>
<script src="assets/js/dropzone.min.js"></script>
<script src="assets/js/sticky-sidebar.min.js"></script>
<script src="assets/js/tweenMax.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/animate.min.html"></script>
<script src="assets/js/jquery.ajaxchimp.min.js"></script>
<script src="assets/js/form-validator.min.js"></script>
<script src="assets/js/contact-form-script.js"></script>
<script src="assets/js/custom.js"></script>
<script>
function changeLanguage1(){
location.reload();
}
function changeLanguage(lang) {
// Your Google Cloud Translation API key
const apiKey = 'REPLACE WITH YOUR OWN CLOUD TRANSLATION API KEY';
// Elements to translate
const titleElement = document.getElementById('toph1');
const discop = document.getElementById('discop');
const getstaa = document.getElementById('getsta');
const chkex = document.getElementById('chkex');
const man1 = document.getElementById('man1');
const man2 = document.getElementById('man2');
const en1 = document.getElementById('en1');
const en2 = document.getElementById('en2');
const med1 = document.getElementById('med1');
const med2 = document.getElementById('med2');
const de1 = document.getElementById('de1');
const de2 = document.getElementById('de2');
const gra1 = document.getElementById('gra1');
const gra2 = document.getElementById('gra2');
const fi1 = document.getElementById('fi1');
const fi2 = document.getElementById('fi2');
const edu1 = document.getElementById('edu1');
const edu2 = document.getElementById('edu2');
const c1 = document.getElementById('c1');
const c2 = document.getElementById('c2');
const m1 = document.getElementById('m1');
const m2 = document.getElementById('m2');
const brow = document.getElementById('brow');
const someh2 = document.getElementById('someh2');
const mle1 = document.getElementById('mle1');
const mle2 = document.getElementById('mle2');
const mle3 = document.getElementById('mle3');
const mle4 = document.getElementById('mle4');
const mle5 = document.getElementById('mle5');
const sur1 = document.getElementById('sur1');
const sur2 = document.getElementById('sur2');
const sur3 = document.getElementById('sur3');
const sur4 = document.getElementById('sur4');
const sur5 = document.getElementById('sur5');
const ent1 = document.getElementById('ent1');
const ent2 = document.getElementById('ent2');
const ent3 = document.getElementById('ent3');
const ent4 = document.getElementById('ent4');
const ent5 = document.getElementById('ent5');
const loadtr = document.getElementById('loadtr');
const n1 = document.getElementById('n1');
const n11 = document.getElementById('n11');
const n12 = document.getElementById('n12');
const n2 = document.getElementById('n2');
const n21 = document.getElementById('n21');
const n22 = document.getElementById('n22');
const n3 = document.getElementById('n3');
const n31 = document.getElementById('n31');
const n32 = document.getElementById('n32');
// Text to translate
const titleText = titleElement.textContent;
const discopt = discop.textContent;
const getstaat = getstaa.textContent;
const chkext = chkex.textContent;
const man1t = man1.textContent;
const man2t = man2.textContent;
const en1t = en1.textContent;
const en2t = en2.textContent;
const med1t = med1.textContent;
const med2t = med2.textContent;
const de1t = de1.textContent;
const de2t = de2.textContent;
const gra1t = gra1.textContent;
const gra2t = gra2.textContent;
const fi1t = fi1.textContent;
const fi2t = fi2.textContent;
const edu1t = edu1.textContent;
const edu2t = edu2.textContent;
const c1t = c1.textContent;
const c2t = c2.textContent;
const m1t = m1.textContent;
const m2t = m2.textContent;
const browt = brow.textContent;
const someh2t = someh2.textContent;
const mle1t = mle1.textContent;
const mle2t = mle2.textContent;
const mle3t = mle3.textContent;
const mle4t = mle4.textContent;
const mle5t = mle5.textContent;
const sur1t = sur1.textContent;
const sur2t = sur2.textContent;
const sur3t = sur3.textContent;
const sur4t = sur4.textContent;
const sur5t = sur5.textContent;
const ent1t = ent1.textContent;
const ent2t = ent2.textContent;
const ent3t = ent3.textContent;
const ent4t = ent4.textContent;
const ent5t = ent5.textContent;
const loadtrt = loadtr.textContent;
const n1t = n1.textContent;
const n11t = n11.textContent;
const n12t = n12.textContent;
const n2t = n2.textContent;
const n21t = n21.textContent;
const n22t = n22.textContent;
const n3t = n3.textContent;
const n31t = n31.textContent;
const n32t = n32.textContent;
// Make API request
fetch(`https://translation.googleapis.com/language/translate/v2?key=${apiKey}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
q: [titleText,discopt,getstaat,chkext,man1t,man2t,en1t,en2t,med1t,med2t,de1t,de2t,gra1t,gra2t,fi1t,fi2t,edu1t,edu2t,c1t,c2t,m1t,m2t,browt,someh2t,mle1t,mle2t,mle3t,mle4t,mle5t,sur1t,sur2t,sur3t,sur4t,sur5t,ent1t,ent2t,ent3t,ent4t,ent5t,loadtrt,n1t,n11t,n12t,n2t,n21t,n22t,n3t,n31t,n32t],
target: lang,
}),
})
.then(response => response.json())
.then(data => {
console.log(data);
// Update content with translated text
titleElement.textContent = data.data.translations[0].translatedText;
discop.textContent = data.data.translations[1].translatedText;
getstaa.textContent = data.data.translations[2].translatedText;
chkex.textContent = data.data.translations[3].translatedText;
man1.textContent = data.data.translations[4].translatedText;
man2.textContent = data.data.translations[5].translatedText;
en1.textContent = data.data.translations[6].translatedText;
en2.textContent = data.data.translations[7].translatedText;
med1.textContent = data.data.translations[8].translatedText;
med2.textContent = data.data.translations[9].translatedText;
de1.textContent = data.data.translations[10].translatedText;
de2.textContent = data.data.translations[11].translatedText;
gra1.textContent = data.data.translations[12].translatedText;
gra2.textContent = data.data.translations[13].translatedText;
fi1.textContent = data.data.translations[14].translatedText;
fi2.textContent = data.data.translations[15].translatedText;
edu1.textContent = data.data.translations[16].translatedText;
edu2.textContent = data.data.translations[17].translatedText;
c1.textContent = data.data.translations[18].translatedText;
c2.textContent = data.data.translations[19].translatedText;
m1.textContent = data.data.translations[20].translatedText;
m2.textContent = data.data.translations[21].translatedText;
brow.textContent = data.data.translations[22].translatedText;
someh2.textContent = data.data.translations[23].translatedText;
mle1.textContent = data.data.translations[24].translatedText;
mle2.textContent = data.data.translations[25].translatedText;
mle3.textContent = data.data.translations[26].translatedText;
mle4.textContent = data.data.translations[27].translatedText;
mle5.textContent = data.data.translations[28].translatedText;
sur1.textContent = data.data.translations[29].translatedText;
sur2.textContent = data.data.translations[30].translatedText;
sur3.textContent = data.data.translations[31].translatedText;
sur4.textContent = data.data.translations[32].translatedText;
sur5.textContent = data.data.translations[33].translatedText;
ent1.textContent = data.data.translations[34].translatedText;
ent2.textContent = data.data.translations[35].translatedText;
ent3.textContent = data.data.translations[36].translatedText;
ent4.textContent = data.data.translations[37].translatedText;
ent5.textContent = data.data.translations[38].translatedText;
loadtr.textContent = data.data.translations[39].translatedText;
n1.textContent = data.data.translations[40].translatedText;
n11.textContent = data.data.translations[41].translatedText;
n12.textContent = data.data.translations[42].translatedText;
n2.textContent = data.data.translations[43].translatedText;
n21.textContent = data.data.translations[44].translatedText;
n22.textContent = data.data.translations[45].translatedText;
n3.textContent = data.data.translations[46].translatedText;
n31.textContent = data.data.translations[47].translatedText;
n32.textContent = data.data.translations[48].translatedText;
})
.catch(error => console.error('Error:', error));
}
</script>
</body>
</html>