-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
103 lines (78 loc) · 3.52 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="stylesheets/ChezFur.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>Chez Fur</title>
</head>
<body>
<!--Heading for the contact page-->
<header>
<h1 id="page-title">Chez Fur</h1>
<h3>by Suzy Schaffer</h3>
</header>
<div class="main-nav-container">
<nav class="navcontainer">
<a href="index.html">Home</a>
<a href="index-2.html">Home (NEW)</a>
<a href="menu.html">Menu</a>
<a href="your-hosts.html">Your Hosts</a>
<a href="contact.html">Contact</a>
<a href="Adoptions.html">Adoptions</a>
</nav>
<!-- Grid container with two equal columns-->
<main class="contact-grid-container">
<div class="image-container">
<!-- Image Source: https://www.pexels.com/photo/close-up-photo-of-cat-sitting-on-grass-1642227/ -->
<img src="images/CatSeating.jpg" alt="Cute Cat is seating on the grass" height = 100>
</div>
<div class="form-container">
<!--This is a greeting-->
<h1>Contact Us </h1>
<p>Let us know how to contact you with the answers you need.</p>
<p>If you have any questions, please fill out the form below, and we will get back to you as soon as
possible.
</p>
<form method="post" action="https://webdevbasics.net/scripts/demo.php">
<!-- Name Field -->
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<br><br>
<!-- E-Mail Field -->
<label for="email">E-Mail:</label>
<input type="email" id="email" name="email" required placeholder="[email protected]">
<br><br>
<!-- Phone Field -->
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" required>
<small>Format: 999-999-9999</small>
<br><br>
<!-- Preferred Contact Method Field -->
<label for="contact-method">Preferred Contact Method:</label>
<select id="contact-method" name="contact-method">
<option value="email" selected>Email me</option>
<option value="phone-afternoon">Phone me between 1pm – 4pm</option>
<option value="phone-evening">Phone me between 6pm – 9pm</option>
</select>
<br><br>
<!-- Question or Contact field -->
<label for="message">Question or Concern?</label>
<textarea id="message" name="message" rows="5" cols="40"
placeholder="Write your question or concern here..."></textarea>
<!-- Button to submit the form -->
<button type="submit">Send Now!</button>
</form>
</div>
</main>
</div>
<!--Footer for the webpage-->
<footer>
<p>Copyright © 2024 Suzy Schaffer<br>
<a href="mailto:[email protected]">[email protected]</a>
</p>
<p>Today's date is: <span id="current-date"></span></p>
</footer>
<script src="scripts/footerDate.js" defer></script>
</body>
</html>