100-project-100-days-website/100_projects/51-disney-movies-landing-page/js/app.js
2023-04-13 01:55:27 +03:00
Ask

7 lines
233 B
JavaScript

{cce42dc09b4fac8a8b0e8d1c6b5951000fdcbd12 true 233 app.js 0xc003122850}

function toggleMenu(){
const toggleMenu = document.querySelector('.toggleMenu');
const navigation = document.querySelector('.navigation');
toggleMenu.classList.toggle('active');
navigation.classList.toggle('active');
}