forked from Thinkful-Ed/starter-front-end-foundations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (41 loc) · 1.2 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Front-end foundations: HTML forms</title>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
rel="stylesheet"
type="text/css"
/>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<main>
<form action="" method="get" class="form-example">
<div class="form-example">
<label for="name">Enter your name: </label>
<input type="text" name="name" id="name" required>
</div>
<div class="form-example">
<label for="email">Enter your email: </label>
<input type="email" name="email" id="email" required>
</div>
<div class="form-example">
<label for="form-message">Your message:</label>
<textarea
id="form-message"
name="message"
autofocus="on"
required
maxlength="200"
></textarea>
</div>
<div class="form-example">
<input type="submit" value="Submit">
</div>
</form>
</main>
</body>
</html>