function menuFunction() { var hidden = document.getElementById("menu-hidden"); if (hidden.style.display === "block") { hidden.style.display = "none"; } else { hidden.style.display = "block"; } }