split hamburger/dropdown css out- nicer looking index

This commit is contained in:
2025-09-23 18:44:54 -04:00
parent da32526da6
commit 5d07776051
7 changed files with 138 additions and 128 deletions
+7
View File
@@ -0,0 +1,7 @@
function toggleDropdown(headerClicked) {
let body = headerClicked.nextElementSibling;
let arrow = headerClicked.children[1];
body.classList.toggle("open");
arrow.classList.toggle("open");
}