const button = document.getElementById("bottone"); const div = document.getElementById("cont"); button.addEventListener('click', () => { div.classList.toggle('open') })