100-project-100-days-website/100_projects/5-animated-circular-navigation-menu/js/main.js
2023-02-26 17:06:00 +03:00
Ask

5 lines
161 B
JavaScript

{f4fde70252ddc902687c14a02500f91fdf2b117a true 161 main.js 0xc002bf52d0}

let toggle = document.querySelector('.toggle');
let menu = document.querySelector('.menu');
toggle.onclick = function(){
menu.classList.toggle('active');
}