`;
document.body.insertAdjacentHTML('beforeend', modalHTML);
const modal = document.getElementById('welcomeModal');
const closeBtn = document.getElementById('closeModalBtn');
closeBtn?.addEventListener('click', () => {
modal.classList.remove('show');
});
document.addEventListener('keydown', (e) => {
if (e.key === "Escape") modal.classList.remove('show');
});
});
---!>