Skip to content

Commit bd7a9a1

Browse files
committed
Update
1 parent ff7b9d0 commit bd7a9a1

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,54 @@
11
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Form</title>
7+
</head>
8+
<body>
9+
<form action="results.html" method="GET">
10+
<div>
11+
<h3>
12+
Your T-Shirt Information
13+
</h3>
14+
<label for="name">Full Name:</label>
15+
<input type="text" name="name" id="name" placeholder="First name" required>
16+
<input type="text" name="name" id="name" placeholder="Last name" required>
17+
</div>
18+
<div>
19+
<label for="email">Email:</label>
20+
<input type="email" name="email" id="email" placeholder="Email" required>
21+
</div>
22+
<br>
23+
Pick your favourite T-shirt colour:
24+
<div>
25+
<input type="radio" name="color" id="black" value="black">
26+
<label for="black">Mysterious Black</label>
27+
<input type="radio" name="color" id="white" value="white">
28+
<label for="white">Bright White</label>
29+
<input type="radio" name="color" id="violet" value="violet">
30+
<label for="violet">Nano Violet</label>
31+
</div>
32+
<div>
33+
<label for="color">Colour Reference:</label>
34+
<input type="color" name="color" id="color">
35+
</div>
36+
<div>
37+
<label for="T-shirtSize">T-shirt Size:</label>
38+
<select name="T-shirtSize" id="T-shirtSize" id="T-shirt Size" required>
39+
<option value="XS">XS</option>
40+
<option value="S">S</option>
41+
<option value="M">M</option>
42+
<option value="L">L</option>
43+
<option value="XL">XL</option>
44+
<option value="XXL">XXL</option>
45+
</select>
46+
</div>
47+
<br>
48+
<button type="submit">Submit</button>
49+
</form>
50+
</body>
51+
</html><!DOCTYPE html>
252
<html lang="en">
353
<head>
454
<meta charset="utf-8" />

0 commit comments

Comments
 (0)