function showMenu(e){ const menu = e.nextElementSibling; menu.classList.toggle('invisible'); } document.showMenu = showMenu;