-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
89 lines (80 loc) · 3.89 KB
/
contact.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QuickEats</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/javascript.util/0.12.12/javascript.util.min.js"
integrity="sha512-oHBLR38hkpOtf4dW75gdfO7VhEKg2fsitvHZYHZjObc4BPKou2PGenyxA5ZJ8CCqWytBx5wpiSqwVEBy84b7tw=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
</head>
<body>
<header>
<nav>
<div class="icon">
<i id="menu" class="fa-solid fa-bars"></i>
</div>
<div class="brandLogo">QuickEats</div>
<ul>
<li> <a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="menu.html">Menu</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
<div class="navButtons">
<button class="btn loginBtn"><a href="/"> Login</a></button>
<button class="btn signupBtn"><a href="/">Signup</a></button>
</div>
</nav>
<section class="contactSection">
<h2><span id="contact"></span></h2>
<h4>We’re here to answer any questions you may have about QuickEats. Reach out to us and we’ll respond as
soon as we can.</h4>
<form id="contactForm" class="contactForm">
<input type="text" id="contactName" placeholder="Your Name" required>
<input type="email" id="contactEmail" placeholder="Your Email" required>
<textarea id="Contactmessage" cols="50" rows="3" placeholder="Your Message" required></textarea>
<button class="contact-btn" type="submit">SUBMIT</button>
</form>
<p id="contactMessageSubmision">Your message has been submitted. Thank you!</p>
</section>
<div class="imgCover"></div>
</header>
<footer>
<div class="footerSocial">
<a href="https://linkedin.com/in/sahifa-zahra-4a2a1a2a1" target="_blank"><i
class="fa-brands fa-linkedin"></i></a>
<a href="https://www.instagram.com/sahifa.zahra?igsh=MWR6aHZ1c2ZzMGFxcg==" target="_blank"><i
class="fa-brands fa-instagram"></i></a>
<a href="https://www.facebook.com/sahifa.zehra.7?mibextid=kFxxJD" target="_blank"><i
class="fa-brands fa-facebook"></i></a>
<a href="mailto:[email protected]" target="_blank"><i class="fa-solid fa-envelope"></i></a>
</div>
<div class="copyright">
<p>© 2024 QuickEats. All Rights Reserved.</p>
</div>
</footer>
<script src="script.js"></script>
<script>
var typed = new Typed('#contact', {
strings: ['Have Questions?', 'Contact Us!'],
typeSpeed: 50,
});
document.getElementById('contactForm').addEventListener('submit', function (event) {
event.preventDefault();
document.getElementById('contactMessageSubmision').style.display = 'block';
document.getElementById('contactName').value = '';
document.getElementById('contactEmail').value = '';
document.getElementById('Contactmessage').value = '';
setTimeout(function () {
document.getElementById('contactMessageSubmision').style.display = 'none';
}, 3000);
});
</script>
</body>
</html>