5 lines
161 B
JavaScript
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');
|
|
} |