Hamburger menu per mobile
parent
aca7ddec4c
commit
a737a3eab1
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
const $mobileMenuButton = document.querySelector('#mobile-nav-menu');
|
||||||
|
|
||||||
|
$mobileMenuButton.addEventListener('click', () => {
|
||||||
|
$mobileMenuButton.classList.toggle('openned');
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue