03/10/23 firstcommit

This commit is contained in:
2023-10-03 09:22:32 +02:00
commit ae1cf1315c
60 changed files with 6143 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
const hamburgerBtn = document.querySelector(".nav-toggler")
const navigation = document.querySelector("nav")
const html = document.querySelector("html")
hamburgerBtn.addEventListener("click", toggleNav)
function toggleNav() {
hamburgerBtn.classList.toggle("active")
navigation.classList.toggle("active")
html.classList.toggle("active")
}