Skip to content

Commit 5b91895

Browse files
committed
Added "preferrred T-Shirt size" options
1 parent eafa744 commit 5b91895

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16+
1617
<div>
1718
<label for="name">Name:</label>
1819
<input type="text" name="name" id="name" placeholder="Full name" required>
1920
</div>
21+
2022
<div>
2123
<label for="email">Email:</label>
2224
<input type="email" name="email" id="email" placeholder="Email address">
2325
</div>
26+
2427
<div>
2528
<label for="color">Preferred T-Shirt color:</label>
2629
<select name="color" id="color">
@@ -29,23 +32,19 @@ <h1>Product Pick</h1>
2932
<option>Green</option>
3033
</select>
3134
</div>
35+
3236
<div>
33-
Preferred T-Shirt size:
34-
div>
35-
<label for="size">Red:</label>
36-
<input name="size" id="size" type="checkbox">
37-
</div>
38-
<div>
39-
<label for="size">Yellow:</label>
40-
<input name="size" id="size" type="checkbox">
41-
</div>
42-
<div>
43-
<label for="size">Green:</label>
44-
<input name="size" id="size" type="checkbox">
37+
<label for="size">Preferred T-Shirt size:</label>
38+
<select name="size" id="size">
39+
<option>XS</option>
40+
<option>S</option>
41+
<option>M</option>
42+
<option>L</option>
43+
<option>XL</option>
44+
<option>XXL</option>
45+
</select>
4546
</div>
46-
<div>
47-
48-
</div>
47+
4948
<button type="submit">SUBMIT</button>
5049
<button type="reset">RESET</button>
5150

0 commit comments

Comments
 (0)