document.querySelector('.show-more').addEventListener('click', function () { document.querySelector('.additional-information') .classList.toggle('is-visible'); });