Initial Commit
This commit is contained in:
commit
c1c292c437
7 changed files with 261 additions and 0 deletions
11
guides/guides.js
Normal file
11
guides/guides.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const guideContents = document.querySelectorAll(".guide-content");
|
||||
|
||||
function changeGuide(newID) {
|
||||
guideContents.forEach(content => {
|
||||
if (content.id == newID) {
|
||||
content.style.display = "block";
|
||||
} else {
|
||||
content.style.display = "none";
|
||||
}
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue