-
-
Notifications
You must be signed in to change notification settings - Fork 432
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (62 loc) · 2.09 KB
/
index.html
File metadata and controls
74 lines (62 loc) · 2.09 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Order Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Simple order form for selecting name, email, color, and size." />
</head>
<body>
<main>
<h1>Order Form</h1>
<form action="results.html" method="GET" autocomplete="on">
<div>
<label for="name">Name</label>
<input type="text" name="name" id="name" minlength="2" required autocomplete="name">
</div>
<div>
<br>
<label for="email">Email</label>
<input type="email" name="email" id="email" required autocomplete="email">
</div>
<br>
<fieldset>
<legend>Please select a color:</legend>
<div>
<input type="radio" id="black" name="color" value="Black" required autocomplete="off">
<label for ="black"> Black</label>
</div>
<br>
<div>
<input type="radio" id="grey" name="color" value="Grey">
<label for ="grey"> Grey</label>
<br>
</div>
<div>
<br>
<input type="radio" id="red" name="color" value="Red">
<label for ="red"> Red</label>
<br>
</div>
</fieldset>
<fieldset>
<legend>Please select a size:</legend>
<label for="size">Size</label>
<select name="size" id="size" required>
<option value="">Select size</option>
<option value="xs">XS</option>
<option value="s">S</option>
<option value="m">M</option>
<option value="l">L</option>
<option value="xl">XL</option>
<option value="xxl">XXL</option>
</select>
</fieldset>
<button type="submit">Submit order</button>
</form>
</main>
<footer>
<p>Sjc</p>
</footer>
</body>
</html>