Skip to content

Commit 719578f

Browse files
add select option for colour
1 parent e44425b commit 719578f

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

Form-Controls/index.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@ <h1>Product Pick</h1>
2121
<label for="email">Email</label>
2222
<input type="email" id="email" required />
2323
</div>
24-
25-
<!-- write your html here-->
26-
<!--
27-
try writing out the requirements first as comments
28-
this will also help you fill in your PR message later-->
24+
<div>
25+
<label for="color">Choose T-shirt color</label>
26+
<select id="color" name="color" required>
27+
<option value="">Select a color</option>
28+
<option value="red">Red</option>
29+
<option value="green">Green</option>
30+
<option value="blue">Blue</option>
31+
</select>
32+
</div>
33+
<div></div>
2934
</form>
3035
</main>
3136
<footer>

0 commit comments

Comments
 (0)