Skip to content

Commit

Permalink
Update mail.html
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhan-b20 authored Sep 1, 2023
1 parent 78fe49f commit 33b3d0f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions mail.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,10 @@ <h3 class="mail-p1">Mail Us<span></span></h3>
mailForm.addEventListener("submit", function (e) {
e.preventDefault();

// Simulate a successful submission
// You can replace this with actual server-side code
setTimeout(function () {
// Hide the form and display the confirmation message
mailForm.style.display = "none";
confirmationDiv.style.display = "block";
}, 2000); // Simulate a 2-second delay

mailForm.style.display = "none";
confirmationDiv.style.display = "block";
});
});
});
</script>
Expand Down

0 comments on commit 33b3d0f

Please sign in to comment.