Skip to content

Commit 2587fb8

Browse files
creating color input element and Size input element
1 parent c93d2a7 commit 2587fb8

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,34 @@ <h1>Product Pick</h1>
4141
arial-describedby="passwordHelp"</>
4242
<small id="passwordHelp">Must be at least 8 characters long and include at least one uppercase letter, one lowercase letter, one number, and one special character</small>
4343
</section>
44+
<!--Shirt Color-->
45+
<section class="form-group">
46+
<label for = "shirt-color">Shirt Color</label>
47+
<select id="shirt-color" name="shirt-color" required>
48+
<option value="">Select a color</option>
49+
<option value="red">Red</option>
50+
<option value="blue">Blue</option>
51+
<option value="green">Green</option>
52+
</select>
53+
</section>
54+
<!---Shirt Size-->
55+
<section class="form-group">
56+
<label for = "shirt-size">Shirt Size</label>
57+
<select id="shirt-size" name="shirt-size" required>
58+
<option value="">Select a size</option>
59+
<option value="XS">XS</option>
60+
<option value="S">S</option>
61+
<option value="M">M</option>
62+
<option value="L">L</option>
63+
<option value="XL">XL</option>
64+
<option value="XXL">XXL</option>
65+
</select>
66+
</section>
67+
<!--Submit button-->
68+
<section class="form-group">
69+
<button type="submit">Submit</button>
70+
</section>
4471

45-
46-
4772
<!--
4873
try writing out the requirements first as comments
4974
this will also help you fill in your PR message later-->

0 commit comments

Comments
 (0)