-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf45228
commit 0ae8f20
Showing
1 changed file
with
1 addition
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> |