document.querySelector('.show-more').addEventListener('click', function () {
document.querySelector('.additional-information')
.classList.toggle('is-visible');
});
let flag = false;
const toggle = () => {
if ( flag ) {
// insert code here when flag is on/true
} else {
// insert code here when flag is off/false
}
flag = ! flag;
}