-
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.
adding google site verification meta tag
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
google-site-verification: google4dc9d964fdfc1a8e.html |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="author" content="Hamza Waheed"> | ||
<meta name="google-site-verification" content="Gf0pqLGJrcBgpOgVjfsj4eQmBVfG_wMa2yfiSibtQj0" /> | ||
<link rel="shortcut icon" href="./assets/favicon/favicon-16x16.png" type="image/x-icon"> | ||
<title>Hamza Waheed</title> | ||
<link rel="icon" href="assets/favicon.ico" type="image/x-icon"> | ||
|
@@ -376,10 +377,10 @@ <h2 class="title">Contact me</h2> | |
</div> | ||
<div class="column right"> | ||
<div class="text">Message me</div> | ||
<form action="https://getform.io/f/8ca660ec-05bb-4e2e-969e-b2e7cad2aadc" method="POST" id="my-form"> | ||
<form action="" method="POST" id="my-form"> | ||
<div class="fields"> | ||
<div class="field name"> | ||
<input type="text" placeholder="Name" required name="name"> | ||
<input type="text" id="userName" placeholder="Name" required name="name"> | ||
</div> | ||
<div class="field email"> | ||
<input type="email" placeholder="[email protected]" required name="email"> | ||
|
@@ -393,7 +394,7 @@ <h2 class="title">Contact me</h2> | |
<input type="hidden" name="_gotcha" style="display:none !important"> | ||
</div> | ||
<div class="button-area"> | ||
<button type="submit">Send message</button> | ||
<button type="submit" onclick="sendEmail()">Send message</button> | ||
</div> | ||
</form> | ||
</div> | ||
|
@@ -412,6 +413,7 @@ <h2 class="title">Contact me</h2> | |
</footer> | ||
|
||
<script src="script.js"></script> | ||
<script src="https://smtpjs.com/v3/smtp.js"></script> | ||
</body> | ||
|
||
</html> |
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 |
---|---|---|
|
@@ -71,3 +71,26 @@ $(document).ready(function () { | |
}, | ||
}); | ||
}); | ||
|
||
|
||
function sendEmail() { | ||
|
||
let userName = document.querySelector("userName"); | ||
let userEmail = document.getElementById() | ||
|
||
|
||
|
||
console.log("hello " + userName); | ||
|
||
Email.send({ | ||
Host : "smtp.elasticemail.com", | ||
Username : "[email protected]", | ||
Password : "540080562F6AE78214EDD7F5136BAB7EB452", | ||
To : '[email protected]', | ||
From : "[email protected]", | ||
Subject : "This is the subject", | ||
Body : "And this is the body" | ||
}).then( | ||
message => alert(message) | ||
); | ||
} |