Skip to content

Commit

Permalink
Added 7th Sem subjects AGT and MIS
Browse files Browse the repository at this point in the history
Added 7th Sem subjects AGT and MIS
  • Loading branch information
madhurimarawat authored Dec 4, 2024
1 parent f7fea1b commit d6b4c2e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions docs/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*********************************************************************************************
* File: index.js
* Author: Madhurima Rawat
* Date: July 18, 2024
* Date: December 04, 2024
* Description: JavaScript file for study materials website, providing
* functionality to dynamically change color schemes based on user-selected seasons.
* Version: 1.0
Expand Down Expand Up @@ -42,6 +42,15 @@ document.addEventListener("DOMContentLoaded", function () {
}
});

// Run when DOM content is fully loaded
document.addEventListener("DOMContentLoaded", function () {
// Center align contentRow element using Flexbox
var contentRow = document.getElementById("contentRow_3");
if (contentRow) {
contentRow.classList.add("d-flex", "justify-content-center");
}
});

// Function to change colors based on the Color parameter
function changeColor(Color) {
let color;
Expand Down Expand Up @@ -156,7 +165,11 @@ document.addEventListener("DOMContentLoaded", function () {
'vt-card': 'Vocational Training',

// 6 Semester Subjects
'intern-card': 'Internship'
'intern-card': 'Internship',

// 7 Semester Subjects
'agt-card': 'Algorithmic Gaming Theory',
'mis-card': 'Management Information System'

};

Expand Down Expand Up @@ -250,4 +263,4 @@ document.addEventListener("DOMContentLoaded", function () {
}
}
});
});
});

0 comments on commit d6b4c2e

Please sign in to comment.