7 lines
241 B
JavaScript
7 lines
241 B
JavaScript
{bc5942334c3300c52c3e7710a98fcd1acd1a4506 true 241 script.js 0xc002c14af0}
|
|
const toggleMenu = document.querySelector('.toggle');
|
|
const navigation = document.querySelector('.navigation');
|
|
toggleMenu.onclick = function () {
|
|
toggleMenu.classList.toggle('active');
|
|
navigation.classList.toggle('active');
|
|
} |