JavaScript
150
Вклад в тег
const menu = document.querySelector('.burger-menu');
const menuList = document.querySelector('.menu__list');
const activateMenu = () => (menuList.classList.toggle('active-menu'), menu.classList.toggle('active'));
menu.addEventListener('click', activateMenu, true);