From cccd8b172f2afd78d4746a677983dede0b282987 Mon Sep 17 00:00:00 2001 From: Ananya Gupta <145869907+ananyag309@users.noreply.github.com> Date: Mon, 3 Jun 2024 07:13:03 +0530 Subject: [PATCH] Update index.html #1002 In contact us section after the user submits the form successfully, they see an alert box with the message "Email sent successfully! but the form was not reset. I have enhance the code so that the form will be reset, providing a better user experience. --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 613dda5c..ed59b6ca 100644 --- a/index.html +++ b/index.html @@ -999,6 +999,7 @@

Reach Out To Us

return; } sendEmail(email); + event.target.reset(); }); function sendEmail(email) { @@ -1436,4 +1437,4 @@

Reach Out To Us

- \ No newline at end of file +