-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
47 lines (38 loc) · 1.53 KB
/
Copy pathcontact.html
File metadata and controls
47 lines (38 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main data-testid="test-contact-page">
<h1>Contact page</h1>
<nav class="breadcrumbs" aria-label="Breadcrumb">
<a href="index.html">Home</a>
<span class="separator">›</span>
<span class="current">Contact</span>
</nav>
<section>
<form id="contactForm" novalidate>
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" required aria-describedby="nameError">
<span id="nameError" class="error-message" aria-live="polite"></span>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required aria-describedby="emailError">
<span id="emailError" class="error-message" aria-live="polite"></span>
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" required aria-describedby="subjectError">
<span id="subjectError" class="error-message" aria-live="polite"></span>
<label for="message">Message:</label>
<textarea id="message" name="message" rows="4" required aria-describedby="messageError"></textarea>
<span id="messageError" class="error-message" aria-live="polite"></span>
<p id="formMessage" class="form-message" aria-live="polite"></p>
<button type="submit">Send</button>
</form>
</section>
</main>
<script src="script.js"></script>
</body>
</html>