100-project-100-days-website/100_projects/7-animated-menu/app.js
2023-02-28 17:23:10 +03:00
Ask

5 lines
191 B
JavaScript

{301240ba5946ecd53c2331145c5d4fe8a9af695a true 191 app.js 0xc002c15dc0}

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