-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
75 lines (70 loc) · 2.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Contact page">
<meta name="description" content="Contact me">
<title>Contact</title>
<link rel="stylesheet" href="./styles/common.css" />
<link rel="stylesheet" href="./styles/contact.css" />
<!-- Hotjar Tracking Code for Book Blog -->
<script>
(function (h, o, t, j, a, r) {
h.hj = h.hj || function () { (h.hj.q = h.hj.q || []).push(arguments) };
h._hjSettings = { hjid: 4969673, hjsv: 6 };
a = o.getElementsByTagName('head')[0];
r = o.createElement('script'); r.async = 1;
r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
a.appendChild(r);
})(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');
</script>
</head>
<body>
<header>
<a href="index.html"><img class="logo" src="images/logo.png" alt="Book logo" /></a>
<nav class="header-menu">
<ul class="menu">
<li><a href="blog.html">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
</header>
<main>
<div class="content">
<div>
<img class="banner" src="images/contact-banner_small.jpg"
alt="A cozy desk with a coffee cup and books" />
</div>
<div class="content-block">
<h1>Contact me</h1>
<form class="contact-form" id="contact-form">
<label for="name">Name</label>
<input type="text" name="name" id="name" />
<span class="fieldError" id="nameError"></span>
<label for="email">Email</label>
<input type="text" name="email" id="email" />
<span class="fieldError" id="email-error"></span>
<label for="subject">Subject</label>
<input type="text" name="subject" id="subject" />
<span class="fieldError" id="subjectError"></span>
<label for="message">Message</label>
<textarea type="text" name="message" id="message" rows="5"></textarea>
<span class="fieldError" id="messageError"></span>
<button class="button" type="submit">Submit</button>
</form>
<div class="hidden" id="thank-you-message">
<h2>Thank you!</h2>
<p>I have received your message and I will respond asap</p>
</div>
</div>
</div>
</main>
<footer>
<p>Book-blog</p>
<h6>©All rights reserved</h6>
</footer>
<script src="./contact.js"></script>
</body>
</html>