Skip to content

Commit f7671fa

Browse files
committed
Make select size required
1 parent d537821 commit f7671fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ <h1>Product Pick</h1>
7171
<label for="white">Brown</label>
7272
</section>
7373
<label for="size">Choose a size:</label>
74-
<select id="size">
74+
<select name="size" id="size" required>
75+
<option></option>
7576
<option value="xs">XS</option>
7677
<option value="s">S</option>
7778
<option value="m">M</option>

0 commit comments

Comments
 (0)