-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
55 lines (46 loc) · 1.29 KB
/
Copy pathcontact.html
File metadata and controls
55 lines (46 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Contact Us</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1>Welcome! Get in Touch</h1>
</header>
<main>
<div class="container">
<h2>Contact Us</h2>
<form action="https://formspree.io/f/mdorjbov" method="POST">
<div class="input-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="input-group">
<label for="email">Email:</label>
<input type="email" id="email" name="_replyto" required>
</div>
<div class="input-group">
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
</div>
<button type="submit">Send</button>
</form>
</div>
</main>
<footer>
<p>© 2023 Support Page</p>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
const elements = document.querySelectorAll('header, main, footer');
elements.forEach(element => {
element.style.opacity = 0;
element.style.animation = 'fadeIn 1s forwards';
});
});
</script>
</body>
</html>