Skip to content

Commit 86d94e3

Browse files
Restore Form-Controls/index.html
1 parent 81b8b7e commit 86d94e3

1 file changed

Lines changed: 97 additions & 0 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<title>My form exercise</title>
7+
<meta name="description" content="" />
8+
<meta name="viewport" content="width=device-width, initial-scale=1" />
9+
<link rel="stylesheet" href="index.css" />
10+
</head>
11+
<body>
12+
13+
<header>
14+
<h1>Product Pick</h1>
15+
</header>
16+
17+
<main>
18+
19+
<form>
20+
21+
<p>
22+
<fieldset>
23+
24+
<legend>Your Details</legend>
25+
26+
<p>
27+
<div>
28+
<label for="name">Name: <input type="text" name="name" id="name" placeholder="John Smith" required></label>
29+
</div>
30+
</p>
31+
<p>
32+
<div>
33+
<label for="email">Email: <input type="email" name="email" id="email" placeholder="example@email.com" required></label>
34+
</p>
35+
36+
</fieldset>
37+
</p>
38+
39+
<p>
40+
<fieldset>
41+
42+
<legend>Shirt Colour Options</legend>
43+
44+
<p>
45+
<div>
46+
<input type="radio" name="color" id="colour_1" required>
47+
<label for="colour_1">Red</label>
48+
</div>
49+
<div>
50+
<input type="radio" name="color" id="colour_2">
51+
<label for="colour_2">Blue</label>
52+
</div>
53+
<div>
54+
<input type="radio" name="color" id="colour_3">
55+
<label for="colour_3">Green</label>
56+
</div>
57+
</p>
58+
59+
</fieldset>
60+
</p>
61+
62+
<p>
63+
<fieldset>
64+
65+
<legend>Shirt Size Options</legend>
66+
67+
<p>
68+
<select name="size" id="size" aria-label="Shirt Size Options" required>
69+
<option value="">Please Select an Option</option>
70+
<option value="xs">Extra Small</option>
71+
<option value="s">Small</option>
72+
<option value="m">Medium</option>
73+
<option value="l">Large</option>
74+
<option value="xl">Extra Large</option>
75+
<option value="xll">Extra Extra Large</option>
76+
</select>
77+
</p>
78+
79+
</fieldset>
80+
</p>
81+
82+
<div>
83+
<p>
84+
<button class="submit">Continue with selection</button>
85+
</p>
86+
</div>
87+
88+
</form>
89+
90+
</main>
91+
92+
<footer>
93+
<p>By MATTHAUS BAUSE</p>
94+
</footer>
95+
96+
</body>
97+
</html>

0 commit comments

Comments
 (0)