3 lines
125 B
JavaScript
3 lines
125 B
JavaScript
|
document.querySelector('.menu-button')?.addEventListener('click', el => {
|
||
|
el.currentTarget.classList.toggle('active');
|
||
|
});
|