7 lines
173 B
JavaScript
7 lines
173 B
JavaScript
{9afe268ebc326c4e974b405f092129dea542d680 true 173 main.js 0xc002a82bd0}
let menu = document.querySelector(".menu");
|
|
let menuToggle = document.querySelector(".toggle");
|
|
menuToggle.onclick = function(){
|
|
menu.classList.toggle('active');
|
|
}
|
|
|