Skip to content

Commit d537821

Browse files
committed
Make radio buttons required
1 parent fd4a8ac commit d537821

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h1>Product Pick</h1>
6363
<legend>T-shirt info</legend>
6464
<label for="color-radio-btns">Choose a colour:</label>
6565
<section id="color-radio-btns">
66-
<input type="radio" name="color" id="white" value="white"/>
66+
<input type="radio" name="color" id="white" value="white" required/>
6767
<label for="white">White</label>
6868
<input type="radio" name="color" id="black" value="black"/>
6969
<label for="white">Black</label>

0 commit comments

Comments
 (0)