Skip to content

Commit

Permalink
Update scripts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BenedictItua authored Mar 25, 2024
1 parent d1a95eb commit 6310dc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ document.addEventListener('DOMContentLoaded', function () {
orderConfirmation.style.display = 'block';
});
});

document.getElementById("pizzaImg").addEventListener("click", function() {
window.location.href = "index.html"; // Redirect to the homepage
});

0 comments on commit 6310dc8

Please sign in to comment.