Improved Website Design and Home Page

This commit is contained in:
BloxerHD 2025-06-10 12:16:30 +01:00
commit a23bc61efe
16 changed files with 360 additions and 36 deletions

23
js/guides.js Normal file
View file

@ -0,0 +1,23 @@
const guideContents = document.querySelectorAll(".guide-content");
const guideButtons = document.querySelectorAll(".guide");
function changeGuide(newID) {
guideContents.forEach(content => {
if (content.id == newID) {
content.style.display = "block";
} else {
content.style.display = "none";
}
})
guideButtons.forEach(button => {
let gid = button.id.slice(1);
if (gid == newID) {
button.classList.add("active");
} else {
if (button.classList.contains("active")) {
button.classList.remove("active");
}
}
})
}