Ancient Door
const door = document.querySelector('.door'); door.addEventListener('click', () => { door.classList.toggle('open'); const audio = new Audio('creaking_sound.mp3'); audio.play(); });