-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
89 lines (86 loc) · 3.22 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="description" content="Responsive Website">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Contact</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body id="top">
<header>
<a href="index.html"><img class="logo" src="images/logo.png" alt="logo"></a><!--
--><div id="hamburger_menu" class="hamburger_menu hamburgeranimation">
<div></div>
<div></div>
<div></div>
<div></div>
</div><!--
--><div id="hamburger_menu-expand" class="menu"><!--
--><nav><!--
--><ul>
<li><a href="index.html">HOME</a></li><!--
--><li><a href="faq.html">FAQ</a></li><!--
--><li><a href="about.html">ABOUT</a></li><!--
--><li><a class="highlighted_link" href="contact.html">CONTACT</a></li>
</ul>
<div class="minifooter">
<div>
<a href="#"><img class="facebook_icon" src="images/facebook_icon.png" alt="facebook icon"></a><!--
--><a href="#"><img class="instagram_icon" src="images/instagram_icon.png" alt="instagram icon"></a><!--
--><a href="#"><img class="tripadvisor_icon" src="images/tripadvisor_icon.png" alt="tripadvisor icon"></a>
</div>
</div>
</nav>
</div>
</header>
<div class="divider"></div>
<div id="blurbackground">
<main id="blurhere" class="noblur">
<div id="greyhere" class="nogrey">
<div class="content" id="mark">
<div class="group">
<h2 id="hide" class="title">Contact Us</h2>
<form method="post" action="message_sent.html" id="contact-form">
<label>
<input id="name" name="name" type="text" placeholder="Name" required minlength="3">
<span id="name-error"></span>
</label>
<label>
<input id="email" name="email" type="email" placeholder="Email" required>
<span id="email-error"></span>
</label>
<label>
<input id="subject" name="subject" type="text" placeholder="Subject" required>
<span id="subject-error"></span>
</label>
<label>
<textarea id="message" name="message" placeholder="Message" required minlength="10" maxlength="200" rows="5" cols="50"></textarea>
<span id="message-error"></span>
</label>
<div class="button_div"><button type="submit" class="send_button" >SEND</button></div>
</form>
</div>
</div>
</div>
</main>
</div>
<footer>
<div>
<a href="#"><img class="facebook_icon" src="images/facebook_icon.png" alt="facebook icon"></a><!--
--><a href="#"><img class="instagram_icon" src="images/instagram_icon.png" alt="instagram icon"></a><!--
--><a href="#"><img class="tripadvisor_icon" src="images/tripadvisor_icon.png" alt="tripadvisor icon"></a>
</div>
</footer>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript">
//when DOM is loaded
document.addEventListener("DOMContentLoaded", function(){
// find the form
var theForm = document.querySelector('#contact-form');
// call form validation and pass the form to it
formValidation(theForm);
});
</script>
</body>
</html>