Skip to content

Commit bc3530b

Browse files
committed
added dropdown menu for tshirt size
1 parent c575797 commit bc3530b

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,19 @@ <h1>Product Pick</h1>
3333
</div>
3434
<!--3. What colour should this T-shirt be? I must provide 3 options.
3535
How will I ensure they do not choose other colours?-->
36-
<div><label for="size">Size:</label><input id="size" name="t-shirt size" required></div>
36+
<div>
37+
<label for="size">Size:</label>
38+
39+
<select id="size" name="tshirt_size" required>
40+
<option value="" selected disabled>Choose a size</option>
41+
<option value="XS">XS</option>
42+
<option value="S">S</option>
43+
<option value="M">M</option>
44+
<option value="L">L</option>
45+
<option value="XL">XL</option>
46+
<option value="XXL">XXL</option>
47+
</select>
48+
</div>
3749
<!-- 4. What size does the customer want? I must provide the following 6 options:
3850
XS, S, M, L, XL, XXL-->
3951
<p class="button">

0 commit comments

Comments
 (0)