Skip to content

Commit

Permalink
Merge pull request apu52#1010 from SaiTejaswaniBikkasani/email-button…
Browse files Browse the repository at this point in the history
…-functionality

feat: Update "Send Email" Button to Open Default Email Client
  • Loading branch information
apu52 authored Jul 14, 2024
2 parents 7f03870 + f185a74 commit 78954bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions faq.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<!DOCTYPE html>




<html lang="en">
<head>
<meta charset="UTF-8">
Expand Down Expand Up @@ -291,7 +287,7 @@ <h2>Have More questions?</h2>
<p>Feel Free to Email us!</p>
</div>
<div>
<button class="moreemail">Send Email</button>
<button class="moreemail" onclick="sendEmail()">Send Email</button>
</div>
</div>

Expand Down Expand Up @@ -367,6 +363,11 @@ <h2>Have More questions?</h2>
logoutButton.disabled = true;
}
});


function sendEmail() {
window.location.href = "mailto:[email protected]";
}
</script>
</body>
</html>

0 comments on commit 78954bd

Please sign in to comment.