Skip to content

Commit 33d6910

Browse files
committed
Added "T-Shirt Colour" section
1 parent 770726e commit 33d6910

1 file changed

Lines changed: 36 additions & 4 deletions

File tree

Form-Controls/index.html

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<h1>Product Pick</h1>
1313
</header>
1414
<main>
15+
<h2> Verify your order and details below:</h2>
1516
<form>
1617

1718

@@ -25,7 +26,7 @@ <h1>Product Pick</h1>
2526
<div>
2627
<p>
2728
<label>Full Name:</label>
28-
<input type = "text" id = "name" name = "Full Name">
29+
<input type = "text" id = "name" name = "name">
2930
</p>
3031
</div>
3132
<!-- 2.Customer's email - Email must be valid and follow consistent pattern. -->
@@ -37,17 +38,48 @@ <h1>Product Pick</h1>
3738
</div>
3839

3940
<!-- 3.T-Shirt colours - Provide 3 options, ensure right option can be picked. -->
41+
<div>
42+
<p>
43+
<label for="T-Shirt Colour"> T-Shirt Colour: </label>
44+
<select name="T-Shirt Colour" id="T-Shirt Colour">
45+
<option label="Red" value="Red"> Red </option>
46+
47+
<option label="Blue" value="Blue"> Blue </option>
48+
49+
<option label="Yellow" value="Yellow"> Yellow </option>
50+
</select>
51+
</p>
52+
</div>
53+
4054
<!-- 4.Provide size options -XS, S, M, L, XL, XXL -->
4155
<div>
4256
<p>T-Shirt Size:</p>
57+
4358
<p>
44-
<label>XS:</label>
45-
<input type = "radio" id = "XS" name = "Size">
59+
<label>XS:</label>
60+
<input type = "radio" id = "XS" name = "Size" value = "XS">
61+
4662
<label>S:</label>
47-
<input type = "radio" id = "S" name = "Size">
63+
<input type = "radio" id = "S" name = "Size" value = "S">
64+
65+
<label>M:</label>
66+
<input type = "radio" id = "M" name = "Size" value = "M">
67+
68+
<label>L:</label>
69+
<input type = "radio" id = "L" name = "Size" value = "L">
70+
71+
<label>XL:</label>
72+
<input type = "radio" id = "XL" name = "Size" value = "XL">
73+
74+
<label>XXL:</label>
75+
<input type = "radio" id = "XXL" name = "Size" value = "XXL">
4876
</p>
4977
</div>
5078

79+
<div>
80+
<button type="submit">Submit</button>
81+
</div>
82+
5183

5284
</form>
5385
</main>

0 commit comments

Comments
 (0)