Add files via upload

This commit is contained in:
2025-02-08 22:59:48 +01:00
committed by GitHub
parent 0b3303a173
commit 4155b55032
3 changed files with 154 additions and 0 deletions

10
www/script.js Normal file
View File

@@ -0,0 +1,10 @@
document.addEventListener("DOMContentLoaded", function () {
const buttons = document.querySelectorAll(".toggle-btn");
buttons.forEach(button => {
button.addEventListener("click", function () {
const content = this.nextElementSibling;
content.style.display = content.style.display === "block" ? "none" : "block";
});
});
});