function showMore() { var hiddenText = document.getElementById('hiddenText'); var showMoreBtn = document.getElementById('showMoreBtn'); hiddenText.style.display = 'block'; showMoreBtn.style.display = 'none'; }