-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (58 loc) · 2.14 KB
/
index.html
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
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello!! 🥰</title>
<script>
document.addEventListener("visibilitychange", () => {
if (document.hidden) {
document.title = "I miss you!! 🥹";
} else {
document.title = "Hello!! 🥰";
}
});
</script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="col-lg-7">
<form id="contact-form" method="POST" class="email-form" action="https://script.google.com/macros/s/AKfycby7VjkpI9b7qz4rC9B5QOXNhkgwDVRy9C53HWxU2vL_S9hdE9Pei0gwEasQ2-Zflmcc/exec">
<div class="row gy-4">
<div class="col-md-6">
<label for="name-field" class="pb-2">Your Name</label>
<input type="text" name="name" id="name-field" class="form-control" required>
</div>
<div class="col-md-6">
<label for="email-field" class="pb-2">Your Email</label>
<input type="email" class="form-control" name="email" id="email-field" required>
</div>
<div class="col-md-12">
<label for="subject-field" class="pb-2">Subject</label>
<input type="text" class="form-control" name="subject" id="subject-field" required>
</div>
<div class="col-md-12">
<label for="message-field" class="pb-2">Message</label>
<textarea class="form-control" name="message" rows="10" id="message-field" required></textarea>
</div>
<div class="col-md-12 text-center">
<div class="loading">Loading</div>
<div class="error-message"></div>
<div class="sent-message">Your message has been sent. Thank you!</div>
<button type="submit">Send Message</button>
</div>
</div>
</form>
</div>
<section id="resume">
<h2>Resume</h2>
<p>Check out my professional experience and skills below.</p>
<a href="https://raw.githubusercontent.com/enosiii/email-form/main/assets/EnosRigorTan-CV.pdf"
download="EnosRigorTan-CV.pdf"
class="download-btn">
Download Resume
</a>
</section>
<script src="main.js"></script>
</body>
</html>