Skip to content

Commit bc41e3d

Browse files
committed
fix colour input
1 parent 40013cb commit bc41e3d

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,22 @@ <h1>Product Pick</h1>
3333
<fieldset>
3434
<legend>Please select your color</legend>
3535

36-
<input type="radio" id="black" name="color" value="Black" />
36+
<input
37+
type="radio"
38+
id="black"
39+
name="color"
40+
value="Black"
41+
required
42+
/>
3743
<label for="black">Black</label>
3844

39-
<input type="radio" id="beige" name="color" value="Beige" />
45+
<input
46+
type="radio"
47+
id="beige"
48+
name="color"
49+
value="Beige"
50+
required
51+
/>
4052
<label for="beige">Beige</label>
4153

4254
<input type="radio" id="red" name="color" value="Red" />

0 commit comments

Comments
 (0)