Petits tests hihi

This commit is contained in:
2024-01-10 13:41:03 +01:00
parent 49cb9d4c47
commit f7d3007b0a
5 changed files with 161 additions and 0 deletions

9
java.js Normal file
View File

@@ -0,0 +1,9 @@
const burger = document.querySelector('.burger');
const nav = document.querySelector('.nav-links');
burger.addEventListener('click', () => {
nav.classList.toggle('nav-active');
burger.classList.toggle('toggle');
});