Skip to content

Commit eafa744

Browse files
committed
Changed "Preferred color" element from to "checkbox to "select"
1 parent f1772a9 commit eafa744

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@ <h1>Product Pick</h1>
2222
<input type="email" name="email" id="email" placeholder="Email address">
2323
</div>
2424
<div>
25-
Preferred T-Shirt color:
26-
<div>
25+
<label for="color">Preferred T-Shirt color:</label>
26+
<select name="color" id="color">
27+
<option>Red</option>
28+
<option>Yellow</option>
29+
<option>Green</option>
30+
</select>
31+
</div>
32+
<div>
33+
Preferred T-Shirt size:
34+
div>
2735
<label for="size">Red:</label>
2836
<input name="size" id="size" type="checkbox">
2937
</div>
@@ -36,7 +44,6 @@ <h1>Product Pick</h1>
3644
<input name="size" id="size" type="checkbox">
3745
</div>
3846
<div>
39-
Preferred T-Shirt size:
4047

4148
</div>
4249
<button type="submit">SUBMIT</button>

0 commit comments

Comments
 (0)