-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfunctional.js
More file actions
2056 lines (1914 loc) · 180 KB
/
functional.js
File metadata and controls
2056 lines (1914 loc) · 180 KB
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
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
function openNav() {
document.getElementById("mySidenav").style.width = "250px";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
function darkMode() {
document.body.classList.toggle('dark-mode');
if (document.body.classList.contains('dark-mode')) {
localStorage.setItem('darkMode', 'enabled');
} else {
localStorage.setItem('darkMode', 'disabled');
}
}
function applyDarkModePreference() {
const darkModePreference = localStorage.getItem('darkMode');
if (darkModePreference === 'enabled') {
document.body.classList.add('dark-mode');
} else {
document.body.classList.remove('dark-mode');
}
}
window.addEventListener('load', function() {
applyDarkModePreference();
});
document.getElementById('button1').addEventListener('mouseover', function() {
document.getElementById('button2').classList.add('hovered');
});
document.getElementById('button1').addEventListener('mouseout', function() {
document.getElementById('button2').classList.remove('hovered');
});
document.getElementById('button2').addEventListener('mouseover', function() {
document.getElementById('button1').classList.add('hovered');
});
document.getElementById('button2').addEventListener('mouseout', function() {
document.getElementById('button1').classList.remove('hovered');
});
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/service-worker.js')
.then(registration => {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}, err => {
console.log('ServiceWorker registration failed: ', err);
});
});
}
let deferredPrompt;
window.addEventListener('beforeinstallprompt', (e) => {
e.preventDefault();
deferredPrompt = e;
let refreshCount = localStorage.getItem('refreshCount') || 0;
refreshCount = parseInt(refreshCount, 10) + 1;
localStorage.setItem('refreshCount', refreshCount);
if (refreshCount % 3 === 0) {
const installPrompt = document.getElementById('installPrompt');
installPrompt.style.display = 'block';
const installButton = document.getElementById('installButton');
const dismissButton = document.getElementById('dismissButton');
installButton.addEventListener('click', () => {
installPrompt.style.display = 'none';
deferredPrompt.prompt();
deferredPrompt.userChoice.then((choiceResult) => {
deferredPrompt = null;
});
});
dismissButton.addEventListener('click', () => {
installPrompt.style.display = 'none';
});
}
});
function downloadFile() {
const link = document.createElement('a');
link.href = 'manifest.json';
link.download = 'CalGPA.json';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
document.addEventListener('DOMContentLoaded', () => {
const isPWA = window.matchMedia('(display-mode: standalone)').matches || window.navigator.standalone;
if (isPWA) {
const navbar = document.querySelector('.navbar');
if (navbar) {
navbar.style.paddingTop = 'env(safe-area-inset-top)';
}
const navbarContents = navbar.querySelectorAll('h1, .menu, .options, .sidenav');
navbarContents.forEach(content => {
content.style.marginTop = '0';
});
}
});
function addTodo() {
const todoInput = document.getElementById('todo');
const todoText = todoInput.value.trim();
if (todoText !== '') {
const todosList = document.getElementById('todos');
const newTodo = document.createElement('li');
newTodo.innerHTML = `<input type="checkbox" onclick="toggleTask(this)"> ${todoText}`;
todosList.appendChild(newTodo);
todoInput.value = '';
updateProgress();
}
}
function toggleTask(checkbox) {
const task = checkbox.parentElement;
if (checkbox.checked) {
task.innerHTML = `<input type="checkbox" onclick="toggleTask(this)" checked> <del>${task.textContent.trim()}</del>`;
} else {
task.innerHTML = `<input type="checkbox" onclick="toggleTask(this)"> ${task.textContent.trim()}`;
}
updateProgress();
}
function updateProgress() {
const todosList = document.getElementById('todos');
const tasks = todosList.getElementsByTagName('li');
const totalTasks = tasks.length;
let completedTasks = 0;
for (let task of tasks) {
if (task.querySelector('input[type="checkbox"]').checked) {
completedTasks++;
}
}
const progress = (completedTasks / totalTasks) * 100;
document.getElementById('progress-bar').style.width = `${progress}%`;
document.getElementById('progress-text').textContent = `${Math.round(progress)}%`;
document.getElementById('temp-progress').innerHTML = `Your current progress is at ${Math.round(progress)}% keep up the pace and make all your tasks in the quick queue. <br><br> <strong>The secret of getting ahead is getting started.</strong> – Mark Twain`;
if (progress > 50) {
document.getElementById('temp-progress').innerHTML = `Your current progress is at ${Math.round(progress)}% keep up the pace and make all your tasks in the quick queue. <br><br> <strong>The secret of getting ahead is getting started.</strong> – Mark Twain <br><br> Your current progress is at ${Math.round(progress)}%, Keep up the good work! and reach all your tasks in the queue.`;
}
}
function toggleAnswer(element) {
const qaItem = element.parentElement.parentElement;
const answer = qaItem.querySelector('.answer');
if (qaItem.classList.contains('active')) {
qaItem.classList.remove('active');
} else {
qaItem.classList.add('active');
}
}
function showInfo(gpa) {
const infoText1 = document.getElementById('info-text1');
const infoText2 = document.getElementById('info-text2');
const infoText3 = document.getElementById('info-text3');
if (gpa === 'gpa9') {
infoText1.innerHTML = `
<strong>Tip 1 for GPA > 9:</strong> Focus on understanding the core concepts deeply.
Use resources like PPT's, online courses, and tutorials to strengthen your understanding.
Participate in study groups and discussions to clarify doubts and gain new perspectives.
`;
infoText2.innerHTML = `
<strong>Roadmap for GPA > 9:</strong><br>
1. <strong>Internal Marks:</strong> Score above 55 out of 60 in CIA to increase the chances of getting a 9.<br>
2. <strong>High Credit Courses:</strong> Prioritize the high credit subjects like 4 and 3 over 2 and 1's because they carry more grade point which play a crucial role in sgpa.<br>
3. <strong>Regular Practice:</strong> Getting grades alone doesn't help, consistant practice makes it easy to remember things more than just studying for the sake of marks cuz at the end all that matters are your skills.<br>
4. <strong>Seek Help:</strong> Make friends from seniors and ask for guidance. Approach your lecturers who value you in class<br>
5. <strong>Use Resources:</strong> Utilize the PPT's for scoring marks, but to learn the actual thing you should definitely work yourself online and find tutorials.<br>
6. <strong>Stay Healthy:</strong> Maintain a healthy lifestyle with proper sleep, diet, and exercise. A healthy body supports a healthy mind.<br>
`;
infoText3.innerHTML = `
<strong>Additional Tips for GPA > 9:</strong><br>
- <strong>Being Active:</strong> Engage in active learning techniques such as summarizing information in your own words, teaching concepts to others, and applying knowledge to practical problems.<br>
- <strong>Consistent Review:</strong> Regularly review your notes and materials to reinforce your understanding and retention of the subject matter.<br>
`;
} else if (gpa === 'gpa8') {
infoText1.innerHTML = `
<strong>Tip 1 for GPA > 8:</strong> Manage your time effectively and prioritize your studies.
Use tools like planners and to-do lists to keep track of your tasks and deadlines.
Break down your study sessions into manageable chunks to avoid burnout.
`;
infoText2.innerHTML = `
<strong>Roadmap for GPA > 8:</strong><br>
1. <strong>Internal Marks:</strong> Aim to score above 50 out of 60 in CIA to increase the chances of getting an 8.<br>
2. <strong>High Credit Courses:</strong> Focus on high credit subjects as they have a significant impact on your SGPA.<br>
3. <strong>Consistent Practice:</strong> Regular practice helps in retaining information better than cramming before exams.<br>
4. <strong>Seek Help:</strong> Don't hesitate to ask for help from seniors or professors when needed.<br>
5. <strong>Use Resources:</strong> Utilize online resources like Coursera, Khan Academy, and edX for additional learning.<br>
6. <strong>Stay Healthy:</strong> Maintain a balanced lifestyle with proper sleep, diet, and exercise to support your studies.<br>
`;
infoText3.innerHTML = `
<strong>Additional Tips for GPA > 8:</strong><br>
- <strong>Group Study:</strong> Form study groups to discuss and review course materials. Group study can provide different perspectives and help clarify doubts.<br>
- <strong>Practice Problems:</strong> Solve practice problems and exercises to reinforce your understanding. Use textbooks, online resources, and past exam papers for practice.<br>
- <strong>Feedback:</strong> Seek feedback on your assignments and exams to identify areas for improvement. Use the feedback to improve your understanding and performance.<br>
`;
} else if (gpa === 'gpa65') {
infoText1.innerHTML = `
<strong>Tip 1 for GPA > 6.5:</strong> Attend all classes and take good notes.
Regular attendance helps you stay updated with the course material and understand the concepts better.
Review your notes regularly to reinforce your learning and identify areas that need improvement.
`;
infoText2.innerHTML = `
<strong>Roadmap for GPA > 6.5:</strong><br>
1. <strong>Internal Marks:</strong> Aim to score above 40 out of 60 in CIA to increase the chances of getting a 6.5+.<br>
2. <strong>Review Notes:</strong> Regularly review your notes and course materials to reinforce your understanding and retention.<br>
3. <strong>Complete Assignments:</strong> Complete all assignments and projects on time. Use them as opportunities to apply what you've learned.<br>
4. <strong>Seek Help:</strong> Don't hesitate to ask for help from professors or classmates when you encounter difficulties.<br>
5. <strong>Use Resources:</strong> Utilize online resources like Coursera, Khan Academy, and edX for additional practice and learning.<br>
6. <strong>Stay Organized:</strong> Keep your study materials and notes organized. Use tools like binders, folders, and digital note-taking apps to stay organized.<br>
`;
infoText3.innerHTML = `
<strong>Additional Tips for GPA > 6.5:</strong><br>
- <strong>Active Participation:</strong> Participate actively in class discussions and activities. Active participation helps reinforce your understanding and retention of the subject matter.<br>
- <strong>Study Schedule:</strong> Create a study schedule and stick to it to ensure consistent study habits. Use tools like planners and to-do lists to keep track of your tasks and deadlines.<br>
- <strong>Practice Tests:</strong> Take practice tests to assess your understanding and prepare for exams. Use past exam papers and online resources for practice.<br>
`;
}
}
document.addEventListener('DOMContentLoaded', () => {
const infoBox = document.getElementById('infoBox');
const suggestionsBox = document.getElementById('suggestionsBox');
infoBox.innerHTML = '<p><strong>Info:</strong> Information about the subject will be displayed here.</p>';
suggestionsBox.innerHTML = '<p><strong>Suggestions:</strong> Suggestions on how to improve will be displayed here.</p>';
infoBox.style.display = 'block';
suggestionsBox.style.display = 'block';
});
function calculatePercentage(event) {
event.preventDefault();
const subjectName = document.getElementById('subjectName').value;
const obtainedMarks = parseFloat(document.getElementById('obtainedMarks').value);
const totalMarks = parseFloat(document.getElementById('totalMarks').value);
const percentageInput = document.getElementById('percentage');
const infoBox = document.getElementById('infoBox');
const suggestionsBox = document.getElementById('suggestionsBox');
if (!isNaN(obtainedMarks) && !isNaN(totalMarks) && totalMarks > 0 && obtainedMarks >= 0 && obtainedMarks <= totalMarks) {
const percentage = (obtainedMarks / totalMarks) * 100;
console.log("Percentage:", percentage);
if (percentage <= 100) {
percentageInput.value = percentage.toFixed(2) + '%';
} else {
alert('Invalid input. Please enter valid marks.');
percentageInput.value = 'Invalid input.';
}
let infoText = '';
let suggestionsText = '';
let salaryInsights = '';
let jobRoles = '';
switch (subjectName.toLowerCase()) {
case 'linear-algebra' || 'lade':
infoText = 'Linear Algebra and Differential Equations form the mathematical foundation for engineering and computer science. This subject covers key topics such as matrices, vector spaces, eigenvalues, and differential equations, which are crucial in fields like machine learning, control systems, and scientific computing.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹24 LPA';
jobRoles = 'Key roles: Machine Learning Engineer, Data Scientist, Control Systems Engineer';
suggestionsText = 'Focus on advanced topics such as Singular Value Decomposition (SVD) and Partial Differential Equations. Apply these concepts in AI/ML models and engineering simulations. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.edx.org/course/linear-algebra" class="link" target="_blank">Linear Algebra by MIT <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/math/linear-algebra" class="link" target="_blank">Linear Algebra by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://ocw.mit.edu/courses/mathematics/18-03-differential-equations-spring-2010/" class="link" target="_blank">Differential Equations by MIT OpenCourseWare <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Data Analyst, Signal Processing Engineer, Research Associate';
suggestionsText = 'Strengthen your knowledge of eigenvalues, eigenvectors, and Fourier series. Work on applied problems related to physics and engineering. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/matrix-algebra-engineers" class="link" target="_blank">Matrix Algebra for Engineers by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://brilliant.org/courses/linear-algebra/" class="link" target="_blank">Linear Algebra by Brilliant <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹13 LPA';
jobRoles = 'Key roles: Mathematician, Quantitative Analyst, Junior Engineer';
suggestionsText = 'Improve your understanding of determinant properties and Laplace transforms. Solve real-world problems using mathematical models. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/linear-algebra-theory-and-applications/" class="link" target="_blank">Linear Algebra: Theory and Applications on Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/math/differential-equations" class="link" target="_blank">Differential Equations by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹9 LPA';
jobRoles = 'Key roles: Teaching Assistant, Research Intern, Graduate Trainee';
suggestionsText = 'Master basic concepts such as Gaussian elimination and first-order ODEs. Work on small projects involving matrix computations. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/linear-algebra-machine-learning" class="link" target="_blank">Linear Algebra for Machine Learning by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/linear-algebra-refresher-course--ud953" class="link" target="_blank">Linear Algebra Refresher by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'smc' || 'single and multivariable calculus':
infoText = 'Single and Multivariable Calculus is a foundational subject in mathematics that deals with the study of functions, limits, derivatives, and integrals. This subject is essential for understanding mathematical modeling, optimization, and physics.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹23 LPA';
jobRoles = 'Key roles: Quantitative Analyst, Research Scientist, Data Scientist';
suggestionsText = 'Focus on advanced topics such as multivariable optimization and differential equations. Apply these concepts in fields like finance, engineering, and data science. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.edx.org/course/multivariable-calculus" class="link" target="_blank">Multivariable Calculus by MIT <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/math/multivariable-calculus" class="link" target="_blank">Multivariable Calculus by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://ocw.mit.edu/courses/mathematics/18-02sc-multivariable-calculus-fall-2010/" class="link" target="_blank">Multivariable Calculus by MIT OpenCourseWare <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹17 LPA';
jobRoles = 'Key roles: Data Analyst, Financial Analyst, Research Associate';
suggestionsText = 'Strengthen your knowledge of partial derivatives, multiple integrals, and vector calculus. Work on applied problems related to economics and engineering. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/multivariable-calculus" class="link" target="_blank">Multivariable Calculus by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://brilliant.org/courses/multivariable-calculus/" class="link" target="_blank">Multivariable Calculus by Brilliant <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Mathematician, Junior Engineer, Technical Analyst';
suggestionsText = 'Improve your understanding of limits, continuity, and series. Solve real-world problems using calculus-based models. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/multivariable-calculus/" class="link" target="_blank">Multivariable Calculus on Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/math/calculus-1" class="link" target="_blank">Calculus 1 by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹8 LPA';
jobRoles = 'Key roles: Teaching Assistant, Research Intern, Graduate Trainee';
suggestionsText = 'Master basic concepts such as derivatives and integrals. Work on small projects involving calculus computations. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/calculus1" class="link" target="_blank">Calculus 1 by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/calculus-refresher-course--ud953" class="link" target="_blank">Calculus Refresher by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'c-programming' || 'c':
infoText = 'C Programming is a fundamental language for system-level programming and problem-solving. This subject covers topics such as data types, control structures, functions, pointers, and file handling, which are essential for embedded systems, operating systems, and high-performance computing.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹22 LPA';
jobRoles = 'Key roles: Embedded Systems Engineer, Software Engineer, Compiler Developer';
suggestionsText = 'Focus on advanced topics such as memory management, multi-threading, and low-level optimizations. Contribute to open-source C projects and work on embedded programming. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udacity.com/course/c-for-programmers--ud210" class="link" target="_blank">C for Programmers by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/c-programming" class="link" target="_blank">C Programming by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://nptel.ac.in/courses/106105171" class="link" target="_blank">Programming in C by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹16 LPA';
jobRoles = 'Key roles: System Programmer, Game Developer, Firmware Engineer';
suggestionsText = 'Master data structures using C, work on debugging techniques, and explore system programming concepts. Build small projects using C for hands-on experience. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/c-programming-for-beginners/" class="link" target="_blank">C Programming for Beginners on Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/computing/computer-programming" class="link" target="_blank">Computer Programming by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Junior Software Developer, Technical Support Engineer';
suggestionsText = 'Enhance your knowledge of pointers, arrays, and file handling. Solve real-world problems using C programs and understand debugging techniques. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/low-level-programming-c-assembly-and-programming-fundamentals/" class="link" target="_blank">Low-Level Programming with C by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/c-programming" class="link" target="_blank">C Programming by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹8 LPA';
jobRoles = 'Key roles: Intern, QA Tester, IT Support Specialist';
suggestionsText = 'Strengthen basic concepts like loops, functions, and arrays. Practice coding problems on platforms like LeetCode and CodeChef. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/106104128" class="link" target="_blank">C Programming and Data Structures by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/intro-to-programming-nanodegree--nd000" class="link" target="_blank">Intro to Programming Nanodegree by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'oops' || 'object oriented programming':
infoText = 'Object-Oriented Programming (OOPs) is a paradigm that focuses on objects and classes for building scalable software. This subject covers core concepts like inheritance, polymorphism, encapsulation, and abstraction, which are essential for modern software development.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹24 LPA';
jobRoles = 'Key roles: Software Engineer, Backend Developer, Solution Architect';
suggestionsText = 'Master advanced OOP principles, design patterns, and SOLID principles. Work on projects using OOP-based languages like Java, C++, or Python. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/object-oriented-programming" class="link" target="_blank">Object-Oriented Programming by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/object-oriented-programming-in-java--ud282" class="link" target="_blank">OOP in Java by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://nptel.ac.in/courses/106105153" class="link" target="_blank">OOPs by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Java Developer, Software Analyst, Application Engineer';
suggestionsText = 'Work on real-world applications using OOP principles. Learn about design patterns and best practices. Contribute to open-source OOP-based projects. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/object-oriented-programming-in-python/" class="link" target="_blank">OOP in Python by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/computing/computer-programming" class="link" target="_blank">Programming Concepts by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Junior Software Developer, Backend Support Engineer';
suggestionsText = 'Enhance your understanding of inheritance, polymorphism, and encapsulation. Solve OOP-based coding challenges and work on mini-projects. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/java-programming-for-complete-beginners/" class="link" target="_blank">Java OOP for Beginners by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/object-oriented-programming" class="link" target="_blank">OOP Concepts by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Intern, Support Engineer, QA Tester';
suggestionsText = 'Strengthen basic OOP concepts by practicing simple projects and debugging object-oriented code. Explore online coding platforms. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/106106162" class="link" target="_blank">OOPs in Java by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/intro-to-object-oriented-programming--ud283" class="link" target="_blank">Intro to OOP by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'cn' || 'computer networks':
infoText = 'Computer Networks (CN) focuses on how computers communicate with each other over networks, including protocols, architectures, and security aspects. This subject is crucial for understanding networking fundamentals and designing robust systems.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹25 LPA';
jobRoles = 'Key roles: Network Engineer, Security Analyst, Cloud Architect';
suggestionsText = 'Deep dive into advanced networking concepts, including network security, cloud networking, and SDN (Software-Defined Networking). Gain hands-on experience with tools like Wireshark, Cisco Packet Tracer, and network simulators. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/specializations/computer-networking" class="link" target="_blank">Computer Networking by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/the-complete-networking-fundamentals-course/" class="link" target="_blank">Networking Fundamentals by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://nptel.ac.in/courses/106105183" class="link" target="_blank">Computer Networks by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹19 LPA';
jobRoles = 'Key roles: Network Administrator, System Engineer, Cloud Engineer';
suggestionsText = 'Strengthen your understanding of OSI and TCP/IP models, subnetting, and routing protocols. Work on setting up and managing networks using tools like Cisco Packet Tracer and GNS3. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udacity.com/course/computer-networking--ud199" class="link" target="_blank">Computer Networking by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/introduction-to-networking" class="link" target="_blank">Networking Basics by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹15 LPA';
jobRoles = 'Key roles: Junior Network Engineer, IT Support, NOC Engineer';
suggestionsText = 'Practice configuring networks and troubleshooting connectivity issues. Learn about VLANs, firewalls, and VPNs. Experiment with virtual networking tools. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/networking-for-beginners/" class="link" target="_blank">Networking for Beginners by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/networking-basics" class="link" target="_blank">Networking Basics by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹11 LPA';
jobRoles = 'Key roles: IT Technician, Network Support, Helpdesk Engineer';
suggestionsText = 'Focus on fundamental networking concepts, learn IP addressing, and practice setting up small networks. Explore free networking simulators for hands-on learning. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/106102113" class="link" target="_blank">Basics of Networking by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/computing/computer-science/internet-intro" class="link" target="_blank">Internet & Networking by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'os' || 'operating systems':
infoText = 'Operating Systems (OS) covers the core principles of how operating systems manage hardware, processes, memory, and file systems. Understanding OS is essential for roles in system development, cybersecurity, and cloud computing.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹27 LPA';
jobRoles = 'Key roles: OS Developer, Kernel Engineer, Cloud Architect';
suggestionsText = 'Master OS internals, process scheduling, memory management, and file systems. Learn Linux kernel development and virtualization. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://cs75.net/" class="link" target="_blank">Operating Systems by Harvard <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/advanced-operating-systems--ud189" class="link" target="_blank">Advanced OS by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://nptel.ac.in/courses/106102132" class="link" target="_blank">Operating Systems by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: System Engineer, DevOps Engineer, Security Analyst';
suggestionsText = 'Strengthen your OS concepts, work with Linux commands, and learn process synchronization. Explore Docker, Kubernetes, and shell scripting. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/os-pku" class="link" target="_blank">Operating Systems by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/operating-system-fundamentals/" class="link" target="_blank">OS Fundamentals by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹16 LPA';
jobRoles = 'Key roles: Linux Administrator, System Support Engineer';
suggestionsText = 'Learn OS basics like process management, deadlocks, and memory allocation. Get hands-on with Linux, command-line tools, and system monitoring. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/linux-for-beginners/" class="link" target="_blank">Linux for Beginners by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/introduction-to-linux" class="link" target="_blank">Intro to Linux by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: IT Support, Desktop Engineer';
suggestionsText = 'Focus on OS fundamentals like file systems, process scheduling, and basic Linux commands. Try small projects on OS functionalities. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/106105214" class="link" target="_blank">Basics of OS by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.khanacademy.org/computing/computer-science/algorithms" class="link" target="_blank">OS Basics by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'ee' || 'electrical' || 'electrical engineering':
infoText = 'Introduction to Electrical Engineering (EE) covers fundamental concepts of electricity, circuits, and electronic components. It is crucial for fields like embedded systems, IoT, and power engineering.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹26 LPA';
jobRoles = 'Key roles: Embedded Systems Engineer, Power Systems Engineer, IoT Specialist';
suggestionsText = 'Master circuit analysis, AC/DC concepts, and power systems. Learn about microcontrollers, PCB designing, and industrial automation. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-002-circuits-and-electronics-spring-2007/" class="link" target="_blank">Circuits & Electronics by MIT <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/electrical-engineering-fundamentals--ud188" class="link" target="_blank">Electrical Engineering Fundamentals by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: Circuit Design Engineer, Control Systems Engineer';
suggestionsText = 'Understand circuit behavior, study transformers, and explore signal processing. Gain hands-on experience with Arduino & Raspberry Pi. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/108102042" class="link" target="_blank">Basic Electrical Circuits by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/electrical-engineering-for-beginners/" class="link" target="_blank">Electrical Engineering for Beginners by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹15 LPA';
jobRoles = 'Key roles: Electrical Technician, Maintenance Engineer';
suggestionsText = 'Develop a strong understanding of Ohm’s Law, circuit components, and power systems. Practice solving real-world electrical problems. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/basic-electrical-engineering" class="link" target="_blank">Basic Electrical Engineering by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Electrician, Field Service Engineer';
suggestionsText = 'Focus on circuit diagrams, electrical safety, and basic troubleshooting techniques. Gain practical knowledge of wiring and power distribution. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/108105053" class="link" target="_blank">Electrical Engineering Basics by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'chemistry' || 'ec':
infoText = 'Engineering Chemistry (EC) focuses on the chemical principles applicable in engineering fields, covering energy sources, electrochemistry, corrosion, polymers, nanotechnology, and water treatment.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹25 LPA';
jobRoles = 'Key roles: Materials Scientist, Electrochemical Engineer, Fuel Cell Engineer';
suggestionsText = 'Master concepts of chemical energy, fuel cells, nanomaterials, and corrosion protection. Explore advanced battery technology and semiconductor doping.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://ocw.mit.edu/courses/chemistry/5-111sc-principles-of-chemical-science-fall-2011/" class="link" target="_blank">Principles of Chemical Science by MIT <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/specializations/nanotechnology" class="link" target="_blank">Nanotechnology Specialization by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: Corrosion Engineer, Battery R&D Specialist, Polymer Scientist';
suggestionsText = 'Develop expertise in corrosion control, electrochemical analysis, and battery chemistry. Understand polymer applications in engineering.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/103102013" class="link" target="_blank">Chemical Engineering Thermodynamics by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹15 LPA';
jobRoles = 'Key roles: Chemical Analyst, Water Treatment Engineer';
suggestionsText = 'Focus on water purification techniques, spectroscopic analysis, and electrochemical processes. Work on fuel cell technology and polymer chemistry.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.edx.org/course/fundamentals-of-chemistry" class="link" target="_blank">Fundamentals of Chemistry by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Lab Technician, Chemical Process Engineer';
suggestionsText = 'Strengthen basics in chemical energy, corrosion prevention, and electroplating. Learn about spectrophotometry and polymer science.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/104106122" class="link" target="_blank">Introduction to Chemistry by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'me' || 'mechanical' || 'mechanical engineering':
infoText = 'Introduction to Mechanical Engineering (ME) covers energy sources, thermodynamics, materials, manufacturing, thermal systems, and advanced technologies like robotics and hybrid vehicles.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹25 LPA';
jobRoles = 'Key roles: Mechanical Design Engineer, Robotics Engineer, Thermal Systems Expert';
suggestionsText = 'Master energy systems, thermodynamics, CNC machining, and robotics. Gain expertise in electric vehicles, industrial automation, and additive manufacturing.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://ocw.mit.edu/courses/mechanical-engineering/2-003sc-engineering-dynamics-fall-2011/" class="link" target="_blank">Engineering Dynamics by MIT <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/specializations/modern-mechanical-engineering" class="link" target="_blank">Modern Mechanical Engineering by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: Manufacturing Engineer, Thermal Engineer, Automotive Engineer';
suggestionsText = 'Focus on thermodynamics, CNC machining, and smart manufacturing. Learn about robotics, automation, and 3D printing for mechanical applications.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/112105123" class="link" target="_blank">Fundamentals of Manufacturing by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹15 LPA';
jobRoles = 'Key roles: HVAC Engineer, Tooling Engineer, Industrial Designer';
suggestionsText = 'Develop skills in thermal systems, CAD/CAM, and refrigeration. Understand mechatronics and automation for mechanical systems.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.edx.org/course/mechanical-behavior-of-materials" class="link" target="_blank">Mechanical Behavior of Materials by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Mechanical Technician, Production Supervisor';
suggestionsText = 'Strengthen basics in energy sources, welding, and manufacturing techniques. Gain hands-on experience with CNC and thermal systems.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/112103174" class="link" target="_blank">Basics of Mechanical Engineering by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'be' || 'biology' || 'biology for engineers':
infoText = 'Biology for Engineers (BE) applies biological principles to engineering fields, covering biomimetics, bioenergy, biomechanics, bioelectronics, and biopharma.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹22 LPA';
jobRoles = 'Key roles: Biomedical Engineer, Bioinformatics Scientist, Biotech Researcher';
suggestionsText = 'Focus on biomechanics, bioelectronics, and biosensors. Learn about bio-inspired robotics, drug discovery, and biological computing.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.edx.org/course/introduction-to-bioengineering" class="link" target="_blank">Introduction to Bioengineering by edX <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://ocw.mit.edu/courses/biological-engineering/20-020-introduction-to-biological-engineering-design-spring-2009/" class="link" target="_blank">Biological Engineering Design by MIT <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Biomechanics Engineer, Clinical Research Associate, Bionics Developer';
suggestionsText = 'Gain expertise in bio-catalysts, bioenergy, and bionic systems. Explore medical IoT applications and biosensors.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/biomedical-visualization" class="link" target="_blank">Biomedical Visualization by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Bioinformatics Analyst, Lab Technician, Medical Device Developer';
suggestionsText = 'Understand biomechanics, circadian rhythms, and bio-inspired systems. Learn about biosensors and lab-on-a-chip technology.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://nptel.ac.in/courses/102103086" class="link" target="_blank">Biomedical Signal Processing by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Biology Lab Assistant, Biotech Technician';
suggestionsText = 'Strengthen basics in biomechanics, biomimetics, and biosensors. Focus on practical applications in healthcare and drug discovery.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/biotechnology-basics/" class="link" target="_blank">Biotechnology Basics by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'cipe':
infoText = 'Constitution of India and Professional Ethics (CIPE) covers the making of the Constitution, fundamental rights, governance structures, and ethical responsibilities of professionals.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: Policy Analyst, Legal Consultant, Civil Services Officer';
suggestionsText = 'Focus on constitutional amendments, governance policies, and public administration ethics. Understand legal frameworks and socio-political structures.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/indian-constitution" class="link" target="_blank">Indian Constitution by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://nptel.ac.in/courses/129106154" class="link" target="_blank">Indian Judiciary by NPTEL <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹16 LPA';
jobRoles = 'Key roles: Legal Advisor, Ethics Consultant, Public Policy Researcher';
suggestionsText = 'Deepen knowledge on professional ethics, governance structures, and emergency provisions. Explore amendments and their impact.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.edx.org/course/the-rule-of-law-and-democratic-constitution" class="link" target="_blank">Rule of Law and Democratic Constitution by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Compliance Officer, HR Policy Manager';
suggestionsText = 'Understand the roles of the President, Prime Minister, and Judiciary. Learn about constitutional amendments and special provisions for marginalized communities.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.classcentral.com/course/swayam-constitutional-studies-144934" class="link" target="_blank">Constitutional Studies by Swayam <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹8 LPA';
jobRoles = 'Key roles: Government Clerk, Administrative Assistant';
suggestionsText = 'Strengthen basics in the Constitution, governance, and ethical principles. Focus on professional conduct and public policy.<br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/ethics-and-governance/" class="link" target="_blank">Ethics and Governance by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'fsd' || 'full stack development':
infoText = 'Full Stack Development involves both front-end and back-end web development. Developers in this field are responsible for designing, developing, and maintaining complete web applications. The role demands expertise in both client-side and server-side technologies, making it a versatile and highly sought-after skill.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: Full Stack Developer, Software Architect';
suggestionsText = 'Study advanced topics like React, Node.js, Express, and MongoDB. Build complex projects, contribute to open-source repositories, and focus on optimizing application performance. Consider learning about containerization and cloud platforms like Docker and AWS. <br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.udemy.com/course/mern-stack-front-to-back/" class="link" target="_blank">MERN Stack Front To Back by Brad Traversy <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/specializations/full-stack-react" class="link" target="_blank">Full-Stack Web Development with React by Hong Kong University <i class="fa-solid fa-up-right-from-square"></i></a>, <br>' +
'<a href="https://www.udemy.com/course/aws-certified-developer-associate/" class="link" target="_blank">AWS Certified Developer - Associate <i class="fa-solid fa-up-right-from-square"></i></a>, <br>' +
'<a href="https://www.udemy.com/course/docker-mastery/" class="link" target="_blank">Docker Mastery: With Kubernetes and Swarm <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹15 LPA';
jobRoles = 'Key roles: Full Stack Developer, Backend Developer';
suggestionsText = 'Learn intermediate concepts like Node.js, Express, and MongoDB. Work on API integrations and enhance debugging skills for real-world applications. Begin exploring advanced topics such as authentication (JWT, OAuth) and performance optimization. <br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.udemy.com/course/nodejs-the-complete-guide/" class="link" target="_blank">Node.js - The Complete Guide by Maximilian Schwarzmüller <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.mongodb.com/learn/mongodb-university" class="link" target="_blank">MongoDB University Free Courses <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/building-restful-apis-nodejs/" class="link" target="_blank">Building RESTful APIs with Node.js <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/learn/applied-data-structures/" class="link" target="_blank">Applied Data Structures and Algorithms by Duke University <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Frontend Developer, UI/UX Designer';
suggestionsText = 'Focus on building strong skills in HTML, CSS, and JavaScript. Gain experience with frontend frameworks like Bootstrap and basic React. Experiment with UI/UX design tools like Figma to improve the aesthetics of your projects. <br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.udemy.com/course/bootstrap-4-from-scratch-with-5-projects/" class="link" target="_blank">Bootstrap 4 From Scratch with 5 Projects <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/javascript-the-complete-guide-2020-beginner-advanced/" class="link" target="_blank">JavaScript - The Complete Guide by Maximilian Schwarzmüller <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/react-the-complete-guide-incl-redux/" class="link" target="_blank">React - The Complete Guide (incl. Hooks, React Router, Redux) <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/figma-ux-design/" class="link" target="_blank">Figma for UX/UI Design <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹8 LPA';
jobRoles = 'Key roles: Junior Frontend Developer';
suggestionsText = 'Start with foundational topics like HTML, CSS, and basic JavaScript. Practice creating small, functional websites. Learn version control using Git to work efficiently in collaborative environments. <br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.coursera.org/learn/html-css-javascript-for-web-developers" class="link" target="_blank">HTML, CSS, and JavaScript for Web Developers by Johns Hopkins University <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/web-development-bootcamp/" class="link" target="_blank">The Web Developer Bootcamp by Colt Steele <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/web-development-basics/" class="link" target="_blank">Web Development Basics <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/git-and-github-bootcamp/" class="link" target="_blank">Git & GitHub Bootcamp <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
break;
case 'dbms':
infoText = 'Database Management Systems (DBMS) are essential for storing, retrieving, and managing data in various applications. This subject covers relational databases, SQL, normalization, transactions, and database design, which are crucial for roles in data management, software development, and business intelligence.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹22 LPA';
jobRoles = 'Key roles: Database Administrator, Data Architect, Database Developer';
suggestionsText = 'Focus on advanced topics like database optimization, distributed databases, and NoSQL databases. Gain expertise in database security, backup, and recovery. Work on large-scale database projects and explore cloud database solutions. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/database-management" class="link" target="_blank">Database Management Essentials by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/the-complete-sql-bootcamp/" class="link" target="_blank">The Complete SQL Bootcamp by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/databases-5-sql" class="link" target="_blank">Databases: Advanced Topics in SQL by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Data Analyst, SQL Developer, Business Intelligence Analyst';
suggestionsText = 'Deepen your knowledge of SQL, database design, and normalization. Work on real-world projects involving data modeling and query optimization. Explore database management tools and techniques. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/relational-database" class="link" target="_blank">Relational Database Management by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/sql-for-data-science/" class="link" target="_blank">SQL for Data Science by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/databases-4-nosql" class="link" target="_blank">Databases: NoSQL by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Junior Database Developer, Data Analyst, IT Support';
suggestionsText = 'Build a strong understanding of basic SQL queries, database design, and normalization. Practice creating and managing databases using SQL. Participate in database-related projects and challenges. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/sql-for-data-science" class="link" target="_blank">SQL for Data Science by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/sql-and-database-management/" class="link" target="_blank">SQL and Database Management by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/databases-3-sql" class="link" target="_blank">Databases: Introduction to SQL by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Database Support, IT Technician';
suggestionsText = 'Strengthen basics in SQL, database design, and data management. Focus on understanding relational databases and practicing SQL queries. Work on small database projects to gain practical experience. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/sql-basics" class="link" target="_blank">SQL Basics by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/sql-for-beginners/" class="link" target="_blank">SQL for Beginners by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/databases-1-introduction" class="link" target="_blank">Databases: Introduction by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'probability and statistics' || 'ps':
infoText = 'Probability and Statistics are essential for analyzing data and making informed decisions based on statistical methods. This subject covers topics such as probability theory, statistical inference, hypothesis testing, and regression analysis, which are crucial for roles in data science, finance, and research.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹22 LPA';
jobRoles = 'Key roles: Data Scientist, Statistician, Quantitative Analyst';
suggestionsText = 'Focus on advanced topics like Bayesian statistics, machine learning algorithms, and time series analysis. Gain expertise in statistical software like R and Python. Work on real-world data projects to enhance your practical skills. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/specializations/statistics" class="link" target="_blank">Statistics with R Specialization by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/statistics-for-data-science-and-business-analysis/" class="link" target="_blank">Statistics for Data Science and Business Analysis by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/introduction-to-probability" class="link" target="_blank">Introduction to Probability by MIT <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Data Analyst, Research Scientist, Biostatistician';
suggestionsText = 'Deepen your knowledge of hypothesis testing, regression analysis, and ANOVA. Work on projects involving data visualization and statistical modeling. Explore statistical tools and techniques for data analysis. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/statistical-inference" class="link" target="_blank">Statistical Inference by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/statistics-for-business-analytics-and-data-science-a-z/" class="link" target="_blank">Statistics for Business Analytics and Data Science A-Z by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/statistics-and-data-science" class="link" target="_blank">Statistics and Data Science by MIT <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Junior Data Analyst, Statistical Assistant, Research Assistant';
suggestionsText = 'Build a strong understanding of basic probability, descriptive statistics, and inferential statistics. Practice solving statistical problems and work on small data analysis projects. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/probability-statistics" class="link" target="_blank">Probability and Statistics by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/statistics-for-data-science-and-business-analysis/" class="link" target="_blank">Statistics for Data Science and Business Analysis by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/introduction-to-statistics" class="link" target="_blank">Introduction to Statistics by Stanford University <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Data Entry Clerk, Statistical Intern';
suggestionsText = 'Strengthen basics in probability, mean, median, mode, and standard deviation. Focus on understanding the fundamental concepts and practicing statistical problems. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/statistics" class="link" target="_blank">Statistics by Coursera <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/statistics-for-beginners/" class="link" target="_blank">Statistics for Beginners by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/statistics-for-data-analysis" class="link" target="_blank">Statistics for Data Analysis by University of California, Berkeley <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'coa' || 'computer organization and architecture':
infoText = 'Computer Organization and Architecture (COA) covers the fundamental principles of computer hardware and low-level programming. This subject includes topics such as registers, memory hierarchy, instruction sets, and assembly language programming, which are essential for understanding how computers execute programs and manage resources.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹24 LPA';
jobRoles = 'Key roles: Hardware Engineer, System Architect, Embedded Systems Developer';
suggestionsText = 'Focus on advanced topics like pipelining, parallel processing, and hardware-software co-design. Gain expertise in assembly language programming and work on projects involving microcontroller programming and hardware simulations. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/computer-architecture" class="link" target="_blank">Computer Architecture by Princeton University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/computer-organization-and-architecture/" class="link" target="_blank">Computer Organization and Architecture by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/computer-architecture" class="link" target="_blank">Computer Architecture by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: System Engineer, Firmware Developer, Hardware Designer';
suggestionsText = 'Deepen your knowledge of instruction sets, memory hierarchy, and CPU design. Work on real-world projects involving assembly language programming and hardware interfacing. Explore tools and techniques for hardware debugging and optimization. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/computer-architecture" class="link" target="_blank">Computer Architecture by Princeton University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/computer-organization-and-architecture/" class="link" target="_blank">Computer Organization and Architecture by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/computer-architecture" class="link" target="_blank">Computer Architecture by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Junior Hardware Engineer, Embedded Systems Developer';
suggestionsText = 'Build a strong understanding of basic computer organization concepts, including registers, ALU, and control units. Practice writing assembly language programs and work on small hardware projects. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/computer-architecture" class="link" target="_blank">Computer Architecture by Princeton University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/computer-organization-and-architecture/" class="link" target="_blank">Computer Organization and Architecture by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/computer-architecture" class="link" target="_blank">Computer Architecture by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Hardware Support, IT Technician';
suggestionsText = 'Strengthen basics in computer organization, including understanding registers, memory, and basic assembly language programming. Work on small projects to gain practical experience. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/computer-architecture" class="link" target="_blank">Computer Architecture by Princeton University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/computer-organization-and-architecture/" class="link" target="_blank">Computer Organization and Architecture by Udemy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/computer-architecture" class="link" target="_blank">Computer Architecture by edX <i class="fa-solid fa-up-right-from-square"></i></a>.';
}
break;
case 'dld' || 'digital logic design':
infoText = 'Digital Logic Design is the foundation of modern electronics and computing systems. It deals with the theoretical and practical aspects of designing and analyzing digital circuits, essential in hardware development. Topics include logic gates, Boolean algebra, flip-flops, multiplexers, counters, and microcontrollers. These concepts are pivotal in industries like consumer electronics, telecommunications, and automotive systems. With DLD skills, you can work on projects like developing embedded systems, optimizing digital signal processing, and creating innovative IoT devices.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Hardware Engineer, Embedded Systems Developer';
suggestionsText = 'Master advanced topics like FPGA design, Verilog, and hardware description languages. Collaborate on projects involving microcontroller programming and real-world hardware simulations. Explore digital design optimization for performance-critical applications like robotics and IoT.<br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.udemy.com/course/verilog-programming/" class="link" target="_blank">Verilog Programming for Beginners <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/learn/digital-design" class="link" target="_blank">Digital Design by University of California <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/fpga-design-for-beginners/" class="link" target="_blank">FPGA Design for Beginners <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/specializations/embedded-systems" class="link" target="_blank">Embedded Systems Specialization by University of Colorado <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Hardware Engineer, Digital Design Specialist';
suggestionsText = 'Dive into intermediate concepts such as combinational and sequential circuit design. Learn VHDL for hardware description and experiment with creating real-time digital systems. Apply your knowledge in projects like signal processing and robotics.<br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.udemy.com/course/vhdl-programming/" class="link" target="_blank">VHDL Programming for Digital Design <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/learn/combinational-sequential-design" class="link" target="_blank">Combinational and Sequential Logic Design <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/digital-design-logic-circuits/" class="link" target="_blank">Digital Logic Design and Circuits <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.edx.org/course/digital-systems-design" class="link" target="_blank">Digital Systems Design by UT Austin <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: Circuit Designer, Test Engineer';
suggestionsText = 'Focus on building strong fundamentals in logic gates, Boolean algebra, and Karnaugh maps. Work on projects like designing basic circuits and understanding the practical implementation of truth tables and state diagrams.<br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.udemy.com/course/logic-design-fundamentals/" class="link" target="_blank">Logic Design Fundamentals <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/learn/boolean-algebra" class="link" target="_blank">Boolean Algebra and Logic Gates <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/digital-logic-beginners/" class="link" target="_blank">Digital Logic for Beginners <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.khanacademy.org/computing/computer-science/cryptography" class="link" target="_blank">Basics of Logic Gates by Khan Academy <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹7 LPA';
jobRoles = 'Key roles: Junior Hardware Engineer';
suggestionsText = 'Begin with the basics like truth tables, logic gates, and simple circuit design. Practice constructing basic circuits using breadboards or simulation software. Develop a foundation in analyzing how different components interact.<br>' +
'<br><strong>Useful Courses:</strong><br> ' +
'<a href="https://www.coursera.org/learn/digital-circuits-basics" class="link" target="_blank">Digital Circuits Basics by University of Michigan <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/introduction-to-digital-design/" class="link" target="_blank">Introduction to Digital Design <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.udemy.com/course/basics-of-digital-logic/" class="link" target="_blank">Basics of Digital Logic <i class="fa-solid fa-up-right-from-square"></i></a>,<br> ' +
'<a href="https://www.coursera.org/learn/electronic-circuits" class="link" target="_blank">Electronic Circuits by Georgia Tech <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
break;
case 'daa' || 'design and analysis of algorithms':
infoText = 'Design and Analysis of Algorithms is fundamental to creating efficient, scalable, and optimized solutions. It helps in evaluating the performance of algorithms, ensuring they operate within optimal time and space complexity constraints. Mastering this subject enables developers to enhance their problem-solving skills and apply algorithmic techniques in real-world scenarios, making it a critical skill for competitive programming and technical interviews.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹24 LPA';
jobRoles = 'Key roles: Algorithm Engineer, Research Scientist, AI Engineer';
suggestionsText = 'Deep dive into advanced topics like NP-completeness, randomized algorithms, and approximation algorithms. Work on optimizing algorithms for large-scale applications and participate in research-oriented projects. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/advanced-algorithms/" class="link" target="_blank">Advanced Algorithms by Andrei Neagoie <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/advanced-algorithms-and-complexity" class="link" target="_blank">Advanced Algorithms and Complexity by UC San Diego <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/algorithm-design-and-analysis" class="link" target="_blank">Algorithm Design and Analysis by Stanford University <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Software Engineer, Data Scientist, Optimization Engineer';
suggestionsText = 'Focus on mastering dynamic programming, greedy algorithms, and divide & conquer techniques. Apply these concepts to solve real-world problems and enhance coding efficiency. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/algorithms-course/" class="link" target="_blank">The Algorithms Course by William Fiset <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/algorithmic-thinking" class="link" target="_blank">Algorithmic Thinking by Rice University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.geeksforgeeks.org/fundamentals-of-algorithms/" class="link" target="_blank">GeeksforGeeks: Fundamentals of Algorithms <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹13 LPA';
jobRoles = 'Key roles: Junior Developer, System Analyst, Software Tester';
suggestionsText = 'Develop strong fundamentals in sorting, searching, and recursion. Solve coding problems that require different algorithmic approaches and participate in coding challenges. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udacity.com/course/intro-to-algorithms--cs215" class="link" target="_blank">Intro to Algorithms by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/algorithms-and-data-structures" class="link" target="_blank">Algorithms and Data Structures by Holczer Balazs <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/algorithmic-toolbox" class="link" target="_blank">Algorithmic Toolbox by UC San Diego <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹9 LPA';
jobRoles = 'Key roles: Intern, Junior Programmer, Software Trainee';
suggestionsText = 'Start with the basics: time complexity, recursion, and simple sorting techniques. Practice implementing fundamental algorithms and work on improving problem-solving speed. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/algorithmic-toolbox" class="link" target="_blank">Algorithmic Toolbox by UC San Diego <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/algorithms-in-python/" class="link" target="_blank">Algorithms in Python by Jose Portilla <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/algorithm-design-and-analysis" class="link" target="_blank">Algorithm Design and Analysis by Stanford University <i class="fa-solid fa-up-right-from-square"></i></a>';
}
break;
case 'ds' || 'data structures':
infoText = 'Data Structures are essential for efficient algorithm implementation and serve as the backbone of computer science. A strong foundation in this area allows developers to write optimized and scalable code, enabling the creation of powerful applications. This subject covers various data structures like arrays, linked lists, trees, and graphs, each critical for organizing and managing data effectively. Proficiency in data structures is vital for problem-solving and is a key skill sought by employers.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹22 LPA';
jobRoles = 'Key roles: Algorithm Developer, Software Engineer, Data Scientist';
suggestionsText = 'Master advanced data structures like AVL trees and graph algorithms. Engage in competitive programming to solve complex problems and improve your coding skills. Consider exploring algorithm optimization techniques and their applications. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/data-structures-and-algorithms-bootcamp/" class="link" target="_blank">Data Structures and Algorithms Bootcamp by Colt Steele <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/specializations/data-structures-algorithms" class="link" target="_blank">Data Structures and Algorithms Specialization by University of California, San Diego <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/data-structures-and-algorithms-nanodegree--nd256" class="link" target="_blank">Data Structures and Algorithms Nanodegree by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/data-structures-fundamentals" class="link" target="_blank">Data Structures Fundamentals by University of California, Santa Cruz <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹17 LPA';
jobRoles = 'Key roles: Software Engineer, Data Analyst, System Designer';
suggestionsText = 'Focus on intermediate structures like heaps and hash tables. Apply data structures in real-world projects to enhance your practical knowledge. Start working on algorithmic challenges that utilize these structures. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/data-structures-and-algorithms-in-python/" class="link" target="_blank">Data Structures and Algorithms in Python by Jose Portilla <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/data-structures-optimizing-performance" class="link" target="_blank">Data Structures: Optimizing Performance by University of California, San Diego <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.geeksforgeeks.org/data-structures/" class="link" target="_blank">GeeksforGeeks Data Structures Tutorials <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.freecodecamp.org/news/data-structures-and-algorithms-in-javascript/" class="link" target="_blank">Data Structures and Algorithms in JavaScript by FreeCodeCamp <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹12 LPA';
jobRoles = 'Key roles: Junior Developer, Programmer Analyst, Software Tester';
suggestionsText = 'Practice implementing linked lists and binary trees. Work on solving basic problems that involve recursion to build your problem-solving skills. Collaborate on projects to strengthen your understanding. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udacity.com/course/data-structures-and-algorithms-nanodegree--nd256" class="link" target="_blank">Data Structures and Algorithms Nanodegree by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/algorithms-and-data-structures-bootcamp/" class="link" target="_blank">Algorithms and Data Structures Bootcamp by Andrei Neagoie <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.codecademy.com/learn/learn-data-structures" class="link" target="_blank">Learn Data Structures by Codecademy <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/data-structures" class="link" target="_blank">Data Structures by University of California, San Diego <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹9 LPA';
jobRoles = 'Key roles: Trainee Developer, Junior Programmer, Intern';
suggestionsText = 'Start with foundational topics like arrays and stacks. Focus on understanding their operations and common use cases to build a solid base. Engage in small projects to practice your skills. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/data-structures-optimizing-performance" class="link" target="_blank">Data Structures: Optimizing Performance by University of California, San Diego <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udemy.com/course/data-structures-in-java/" class="link" target="_blank">Data Structures in Java by Robert Seacord <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/data-structures-fundamentals" class="link" target="_blank">Data Structures Fundamentals by University of California, Santa Cruz <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.freecodecamp.org/news/data-structures-and-algorithms-in-javascript/" class="link" target="_blank">Data Structures and Algorithms in JavaScript by FreeCodeCamp <i class="fa-solid fa-up-right-from-square"></i></a>';
}
break;
case 'ai' || 'artificial intelligence' || 'introduction to ai':
infoText = 'Artificial Intelligence is at the core of modern technological advancements, enabling machines to learn, reason, and make decisions. Mastering AI opens doors to cutting-edge innovations in machine learning, robotics, natural language processing, and more. Understanding AI concepts is crucial for staying ahead in the rapidly evolving tech landscape.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹26 LPA';
jobRoles = 'Key roles: AI Engineer, Machine Learning Scientist, Research Scientist';
suggestionsText = 'Advance your AI knowledge with deep learning, reinforcement learning, and AI ethics. Work on AI-driven projects and contribute to open-source AI initiatives. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/machine-learning" class="link" target="_blank">Machine Learning by Andrew Ng <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/deep-learning-nanodegree--nd101" class="link" target="_blank">Deep Learning Nanodegree by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://cs50.ai/" class="link" target="_blank">CS50’s Introduction to AI with Python <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹20 LPA';
jobRoles = 'Key roles: Data Scientist, AI Developer, NLP Engineer';
suggestionsText = 'Deepen your understanding of neural networks, optimization techniques, and AI applications in real-world scenarios. Participate in AI hackathons and Kaggle competitions. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/artificial-intelligence-reinforcement-learning-in-python/" class="link" target="_blank">AI & Reinforcement Learning in Python <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/specializations/deep-learning" class="link" target="_blank">Deep Learning Specialization by Andrew Ng <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/artificial-intelligence-ai" class="link" target="_blank">Artificial Intelligence by Columbia University <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage > 70 && percentage <= 80) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: AI Analyst, Junior AI Engineer, Computer Vision Engineer';
suggestionsText = 'Strengthen your AI fundamentals with supervised and unsupervised learning. Work on small AI projects and implement basic machine learning models. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udemy.com/course/python-for-data-science-and-machine-learning-bootcamp/" class="link" target="_blank">Python for Data Science & Machine Learning <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/ai-for-everyone" class="link" target="_blank">AI for Everyone by Andrew Ng <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.kaggle.com/learn/intro-to-machine-learning" class="link" target="_blank">Intro to Machine Learning by Kaggle <i class="fa-solid fa-up-right-from-square"></i></a>';
}
if (percentage <= 70) {
salaryInsights = 'Expected salary: ₹10 LPA';
jobRoles = 'Key roles: AI Intern, Junior Data Analyst, AI Assistant';
suggestionsText = 'Start with basic AI concepts, learn Python, and explore beginner-friendly AI tools like TensorFlow and scikit-learn. Work on simple projects like chatbots and recommendation systems. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/introduction-to-ai" class="link" target="_blank">Introduction to AI by Stanford University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.udacity.com/course/ai-programming-with-python-nanodegree--nd089" class="link" target="_blank">AI Programming with Python by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/machine-learning-with-python" class="link" target="_blank">Machine Learning with Python by IBM <i class="fa-solid fa-up-right-from-square"></i></a>';
}
break;
case 'dmgt':
infoText = 'Discrete Mathematics and Graph Theory are fundamental to algorithm development and theoretical computer science. These topics are widely used in cryptography, network theory, and database systems. A strong understanding of these subjects can significantly enhance your problem-solving skills and open doors to various tech careers.';
if (percentage > 90) {
salaryInsights = 'Expected salary: ₹18 LPA';
jobRoles = 'Key roles: Algorithm Analyst, Software Developer';
suggestionsText = 'Dive deep into graph algorithms and combinatorics. Practice problem-solving for competitive programming. Consider exploring advanced topics like game theory and optimization techniques. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.udacity.com/course/data-structures-and-algorithms-nanodegree--nd256" class="link" target="_blank">Data Structures and Algorithms Nanodegree by Udacity <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.edx.org/course/graph-theory" class="link" target="_blank">Graph Theory by UC San Diego <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +
'<a href="https://www.coursera.org/learn/discrete-mathematics-1" class="link" target="_blank">Discrete Mathematics by UC San Diego <i class="fa-solid fa-up-right-from-square"></i></a><br>';
}
if (percentage > 80 && percentage <= 90) {
salaryInsights = 'Expected salary: ₹14 LPA';
jobRoles = 'Key roles: Data Scientist, Software Engineer';
suggestionsText = 'Focus on intermediate topics like trees and set theory. Learn the applications of graph theory in real-world problems. Enhance your skills with real-world projects and case studies. <br>' +
'<strong>Useful Courses:</strong><br>' +
'<a href="https://www.coursera.org/learn/algorithm-design-analysis" class="link" target="_blank">Algorithm Design and Analysis by Stanford University <i class="fa-solid fa-up-right-from-square"></i></a>,<br>' +