document.addEventListener('mouseleave', function (event) { if (event.clientY <= 0) { document.getElementById('exitPopup').style.display = 'block'; } }); function claimDiscount() { alert('Discount applied! Redirecting to checkout...'); document.getElementById('exitPopup').style.display = 'none'; }

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!