-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (84 loc) · 3.01 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact us form</title>
<link href="/styles.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Oswald:wght@300&family=Raleway:wght@200;700&family=Roboto:wght@300;700&display=swap"
rel="stylesheet">
</head>
<body>
<header>
<h1> Contact Us </h1>
</header>
<main>
<form action="/" method="GET">
<section>
<h2> How can we help you? </h2>
<ul>
<li class="personal-info">
<label for="username"> Your Name </label>
<input type="text" name="user-name" id="username" required>
</li>
<li class="personal-info">
<label for="usermail"> Your E-Mail Address </label>
<input type="email" name="user-email" id="usermail" required>
</li>
<li class="personal-info">
<label for="userphone"> Your Phone Number </label>
<input type="tel" name="user-phone" id="userphone" required minlength="5">
</li>
<li class="personal-info">
<label for="usermessage"> Your Message </label>
<textarea name="user-message" id="usermessage" required rows="4"></textarea>
</li>
<li class="personal-info">
<label for="how-find"> How did you find us? </label>
<select id="how-find" name="howfind" required>
<option value="web-search"> Web Search </option>
<option value="word-mouth"> Word of Mouth </option>
<option value="other"> Other </option>
</select>
</li>
</ul>
</section>
<section>
<h2> How should we reply? </h2>
<ul>
<li class="reply">
<input type="radio" id="call" name="replytype" value="call" required>
<label for="call"> Call me </label>
</li>
<li class="reply">
<input type="radio" id="email" name="replytype" value="email" required>
<label for="email"> Send me an email </label>
</li>
<li class="reply">
<input type="radio" id="none" name="replytype" value="no" required>
<label for="none"> Don't reply </label>
</li>
</ul>
</section>
<section id="terms">
<input type="checkbox" id="terms" name="accept-terms" required>
<label for="terms"> Accept Terms </label>
</section>
<section>
<ul id="buttons">
<li id="clear-button">
<button type="reset"> Clear </button>
</li>
<li id="submit-button">
<button type="submit"> Submit</button>
</li>
</ul>
</section>
</form>
</main>
</body>
</html>