Skip to content

Commit 73c14b0

Browse files
committed
Added a submit and reset button
1 parent d43171d commit 73c14b0

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

Form-Controls/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,22 @@ <h1>Product Pick</h1>
2626
<label for="size">
2727
<span> Choose your size:</span>
2828
</label>
29-
<select id="size" name="user-size">
29+
<select id="size" name="user-size" required>
30+
<option value="">--Select--</option>
3031
<option value="xs">XS</option>
31-
<option value="small">S</option>
32-
<option value="mid">M</option>
33-
<option value="large">L</option>
32+
<option value="s">S</option>
33+
<option value="m">M</option>
34+
<option value="l">L</option>
3435
<option value="xl">XL</option>
3536
<option value="xxl">XXL</option>
3637

3738
</select>
3839
</p>
40+
<p class="button">
41+
<button type ="submit">Submit</button>
42+
<button type="reset">Reset</button>
43+
44+
</p>
3945

4046
<!--
4147
try writing out the requirements first as comments

0 commit comments

Comments
 (0)