Skip to content

Commit ad79ec1

Browse files
committed
t-shirt information added
1 parent 4245d68 commit ad79ec1

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1>Product Pick</h1>
1616
<!-- Fieldset added for form structure-->
1717
<fieldset>
1818
<legend>Personal Details</legend>
19-
19+
<!-- name field added -->
2020
<div>
2121
<label for="name">Name:</label>
2222
<input
@@ -29,6 +29,7 @@ <h1>Product Pick</h1>
2929
/>
3030
</div>
3131

32+
<!-- email field added -->
3233
<div>
3334
<label for="email">Email:</label>
3435
<input
@@ -43,8 +44,33 @@ <h1>Product Pick</h1>
4344
</div>
4445
</fieldset>
4546

47+
4648
<fieldset>
4749
<legend>T-shirt Information</legend>
50+
<!-- T-shirt colour information added -->
51+
52+
<div>
53+
<label for="colour">Colour:</label>
54+
55+
<select id="colour" name="colour" required>
56+
<option value="">Select a colour</option>
57+
<option value="black">Black</option>
58+
<option value="blue">Blue</option>
59+
<option value="white">White</option>
60+
</select>
61+
</div>
62+
63+
<!-- T-shirt size information added -->
64+
<div>
65+
<label for="size">Size:</label>
66+
67+
<select id="size" name="size" required>
68+
<option value="">Select a size</option>
69+
<option value="small">Small</option>
70+
<option value="medium">Medium</option>
71+
<option value="large">Large</option>
72+
</select>
73+
</div>
4874
</fieldset>
4975
</form>
5076
</main>

0 commit comments

Comments
 (0)