Skip to content

Commit

Permalink
Create script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiran18b authored Oct 22, 2024
1 parent 823a2c6 commit defb042
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
document.getElementById("contactForm").addEventListener("submit", function(event) {
event.preventDefault();
alert("Thank you for your message! We will get back to you shortly.");
document.getElementById("contactForm").reset();
});

0 comments on commit defb042

Please sign in to comment.