-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
56 lines (51 loc) · 2.05 KB
/
Copy pathcontact.html
File metadata and controls
56 lines (51 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Devon</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@4/dist/email.min.js">
</script>
<script type="text/javascript">
(function(){
emailjs.init({
publicKey: "9wV-vl8mWfO7v3CBl",
});
})();
</script>
<script defer src="contact.js"></script>
</head>
<body class="contact-page">
<nav>
<ul>
<li class="left-option"><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="media.html">Media</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<h2 id="contact-heading">Contact Me!</h2>
<form id="contact-form" method="POST">
<div class="form-row">
<div class="form-group">
<label for="first-name">First Name</label>
<input type="text" id="first-name" placeholder="John" name="first-name" required>
</div>
<div class="form-group">
<label for="last-name">Last Name</label>
<input type="text" id="last-name" placeholder="Doe" name="last-name" required>
</div>
</div>
<label for="email">Email</label>
<input type="email" placeholder="johndoe123@gmail.com" id="email" name="email" required>
<label for="subject">Subject</label>
<input type="text" placeholder="Email Subject" id="subject" name="subject" required>
<label for="message">Message</label>
<textarea id="message" placeholder="Hi Devon! This is a really cool website!" name="message" rows="4" required></textarea> <br>
<button id="contact-button" type="submit">Submit</button>
</form>
</body>
</html>