diff --git a/source/script.js b/source/script.js index de0599a3013ef4f6f685a95b6d904eec8cbc3fec..7293b6a7200ca399bf715700f61a08e1f203acfb 100644 --- a/source/script.js +++ b/source/script.js @@ -3,7 +3,6 @@ const boxes = document.querySelectorAll('.box'); boxes.forEach((box) => { box.addEventListener('click', function(e) { - alert('will redirect to:' + e.target.getAttribute('data-href')); window.location.href = e.target.getAttribute('data-href'); }); }); \ No newline at end of file