Skip to content

Commit f45878f

Browse files
committed
Deleted commented out codes and Assignment requirements
1 parent a5ba9e3 commit f45878f

1 file changed

Lines changed: 4 additions & 41 deletions

File tree

Form-Controls/index.html

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,7 @@ <h1>Product Pick - T-Shirt Order Form</h1>
4646
</header>
4747
<main>
4848
<form>
49-
<!-- write your html here-->
50-
<!--
51-
try writing out the requirements first as comments
52-
this will also help you fill in your PR message later-->
53-
<!--
54-
1.What is the customer's name? I must collect this data and ensure it contains at least two non-space characters.
55-
2.What is the customer's email? I must make sure the email is valid. Email addresses follow a consistent pattern.
56-
3.What colour should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours?
57-
4.What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL-->
49+
5850
<div>
5951
<label for="name">Full Name</label>
6052
<input
@@ -70,27 +62,7 @@ <h1>Product Pick - T-Shirt Order Form</h1>
7062
<label for="email">Email Address</label>
7163
<input id="email" name="email" type="email" required />
7264
</div>
73-
<!--
74-
<fieldset>
75-
<legend>Colour Choice</legend>
76-
<div>
77-
<label>
78-
<input type="radio" name="colour" value="Burgundy" required>
79-
Burgundy
80-
</label>
81-
82-
<label>
83-
<input type="radio" name="colour" value="Purple">
84-
Purple
85-
</label>
86-
87-
<label>
88-
<input type="radio" name="colour" value="Yellow">
89-
Yellow
90-
</label>
91-
</div>
92-
</fieldset>
93-
-->
65+
9466
<fieldset>
9567
<legend>Choose your Colour</legend>
9668

@@ -134,22 +106,13 @@ <h1>Product Pick - T-Shirt Order Form</h1>
134106
</label>
135107
</div>
136108
</fieldset>
137-
<!--<label for="size">T-shirt Size Choice</label>
138-
<select id="size" name="size" required>
139-
<option value="">Select Your Size</option>
140-
<option value="XS">XS</option>
141-
<option value="S">S</option>
142-
<option value="M">M</option>
143-
<option value="L">L</option>
144-
<option value="XL">XL</option>
145-
<option value="XXL">XXL</option>
146-
</select>-->
109+
147110

148111
<button type="submit">Place Your Order</button>
149112
</form>
150113
</main>
151114
<footer>
152-
<!-- change to your name-->
115+
153116
<p>By CHINWE CHUKWUMA</p>
154117
</footer>
155118
</body>

0 commit comments

Comments
 (0)