Skip to content

Commit 68f1c61

Browse files
authored
Update comments and add T-shirt colour options
1 parent ab59fcb commit 68f1c61

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,20 @@ <h1>Product Pick</h1>
3030
name="email"
3131
required
3232
/>
33-
<!-- Allow the customer to choose a T-shirt colour -->
33+
<!-- Allow the customer to choose a T-shirt colour. Only provide three colour options. -->
34+
<fieldset>
35+
<legend>Choose a Colour</legend>
3436

35-
<!-- Only provide 3 colour options -->
37+
<input type="radio" id="red" name="colour" value="red" required>
38+
<label for="red">Red</label>
3639

40+
<input type="radio" id="blue" name="colour" value="blue">
41+
<label for="blue">Blue</label>
42+
43+
<input type="radio" id="green" name="colour" value="green">
44+
<label for="green">Green</label>
45+
</fieldset>
46+
3747
<!-- Allow the customer to choose a T-shirt size -->
3848

3949
<!-- Provide sizes: XS, S, M, L, XL, XXL -->

0 commit comments

Comments
 (0)