100-project-100-days-website/100_projects/43-landing-design-socially/js/main.js
2023-04-05 16:27:36 +03:00
Ask

7 lines
244 B
JavaScript

{4ea08875a47062c7b09c1b52c4588c616755f589 true 244 main.js 0xc001b288c0}

// Toggle Menu
function menuToggle(){
const menuToggle = document.getElementById('menuToggle');
const navigation = document.getElementById('navigation');
menuToggle.classList.toggle('active');
navigation.classList.toggle('active');
};