Closed RubenErhardt closed 1 month ago
function playAudio() { audioElement?.play(); if (hiddenSection) { hiddenSection.classList.remove('hidden'); hiddenSection.scrollIntoView({ behavior: 'smooth', block: 'center' }); } } function toggleMoreInfo() { if (moreInfo) { moreInfo.classList.toggle('hidden'); revealButton.textContent = moreInfo.classList.contains('hidden') ? 'Click to reveal more' : 'Click to hide'; } }
.hidden { display: none; }