Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayores-04 authored Aug 9, 2024
1 parent bf45228 commit 0ae8f20
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,6 @@ <h1>Contact.</h1>
</div>
</div>
</div>
<script>
document.querySelector('.Hire_btn').addEventListener('click', function() {
const email = '[email protected]';
const subject = 'Hire Request';
const body = `Hello Jake,
I'm interested in hiring you for a project. Please provide more details on your availability and rates.
Thank you!
[Your Name]`;

window.location.href = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
});
</script>
<script src="index.js"></script>
</body>
</html>

0 comments on commit 0ae8f20

Please sign in to comment.