File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,15 +13,27 @@ <h1>Product Pick</h1>
1313 </ header >
1414 < main >
1515 < form >
16- <!-- write your html here-->
17- <!--
18- try writing out the requirements first as comments
19- this will also help you fill in your PR message later-->
16+ < div > < label for ="name "> Name:</ label >
17+ < input type ="text " id ="name " name ="customers_name " required pattern =.*\S.*\S.* > </ div >
18+ <!-- 1. What is the customer's name? I must collect this data and
19+ it contains at least two non-space characters. -->
20+ < div > < label for ="mail "> Email:</ label >
21+ < input type ="email " id ="mail " name ="customers_email " required > </ div >
22+ <!-- 2. What is the customer's email? I must make sure the email is valid.
23+ Email addresses follow a consistent pattern.-->
24+ < div > < label for ="colour "> Colour:</ label > < input id ="colour " name ="t-shirt colour " required > </ div >
25+ <!--3. What colour should this T-shirt be? I must provide 3 options.
26+ How will I ensure they do not choose other colours?-->
27+ < div > < label for ="size "> Size:</ label > < input id ="size " name ="t-shirt size " required > </ div >
28+ <!-- 4. What size does the customer want? I must provide the following 6 options:
29+ XS, S, M, L, XL, XXL-->
30+ < p class ="button ">
31+ < button type ="submit "> Submit</ button >
32+ </ p >
2033 </ form >
2134 </ main >
2235 < footer >
23- <!-- change to your name-->
24- < p > By HOMEWORK SOLUTION</ p >
36+ Talia Kucuk
2537 </ footer >
2638 </ body >
2739</ html >
You can’t perform that action at this time.
0 commit comments