Skip to content

Commit 5be615a

Browse files
committed
Add Radio Button for T-shirt Size
1 parent 54e6c7f commit 5be615a

1 file changed

Lines changed: 35 additions & 3 deletions

File tree

Form-Controls/index.html

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ <h1>Product Pick</h1>
2626
</div>
2727

2828
<!-- Radio Button for T-shirt Colour-->
29-
<div>
3029
<fieldset>
3130
<legend>T-shirt Colour:</legend>
3231
<input type="radio" id="colour" name="tshirt_colour" value="red">
@@ -36,12 +35,45 @@ <h1>Product Pick</h1>
3635
<input type="radio" id="colour3" name="tshirt_colour" value="green">
3736
<label for="colour3">Green</label>
3837
</fieldset>
39-
</div>
38+
4039

4140
<!-- Radio Button for T-shirt Size-->
41+
<fieldset>
42+
<legend>T-shirt Size:</legend>
43+
<div>
44+
<input type="radio" id="size" name="tshirt_size" value="small">
45+
<label for="size">XS</label>
46+
</div>
47+
48+
<div>
49+
<input type="radio" id="size2" name="tshirt_size" value="medium">
50+
<label for="size2">S</label>
51+
</div>
52+
53+
<div>
54+
<input type="radio" id="size3" name="tshirt_size" value="large">
55+
<label for="size3">M</label>
56+
</div>
57+
58+
<div>
59+
<input type="radio" id="size4" name="tshirt_size" value="xlarge">
60+
<label for="size4">L</label>
61+
</div>
62+
63+
<div>
64+
<input type="radio" id="size5" name="tshirt_size" value="xxlarge">
65+
<label for="size5">XL</label>
66+
</div>
67+
68+
<div>
69+
<input type="radio" id="size6" name="tshirt_size" value="xxxlarge">
70+
<label for="size6">XXL</label>
71+
</div>
72+
73+
</fieldset>
4274
<!--
4375
try writing out the requirements first as comments
44-
this will also help you fill in your PR message later-->
76+
this will also help you fill in your PR message laterß-->
4577
</form>
4678
</main>
4779
<footer>

0 commit comments

Comments
 (0)