Skip to content

Commit 2ea2eeb

Browse files
Radio Button
Added radio button for the colour selection
1 parent b762333 commit 2ea2eeb

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,24 @@ <h1>Product Pick</h1>
2121
<label>Customer Email: </label>
2222
<input type="email">
2323
</div>
24+
<div>
25+
<p>Choose a T‑shirt colour:</p>
26+
27+
<label>
28+
<input type="radio" name="colour" value="red" required>
29+
Red
30+
</label>
31+
32+
<label>
33+
<input type="radio" name="colour" value="blue">
34+
Blue
35+
</label>
36+
37+
<label>
38+
<input type="radio" name="colour" value="black">
39+
Black
40+
</label>
41+
</div>
2442
<!--
2543
try writing out the requirements first as comments
2644
this will also help you fill in your PR message later-->

0 commit comments

Comments
 (0)