@@ -18,36 +18,34 @@ <h1>Product Pick</h1>
1818 < fieldset >
1919 < legend > Your Details</ legend >
2020 < p >
21- < label for ="name "> Name:</ label >
22- < input type ="text " name ="name " id ="name " placeholder ="John Smith " required >
21+ < label for ="name "> Name: < input type ="text " name ="name " id ="name " placeholder ="John Smith " required > </ label >
2322 </ p >
2423
2524 < p >
26- < label for ="email "> Email:</ label >
27- < input type ="text " name ="email " id ="email " placeholder ="example@email.com " required >
28- </ p >
25+ < label for ="email "> Email: < input type ="text " name ="email " id ="email " placeholder ="example@email.com " required > </ label >
26+ </ p >
2927 </ fieldset >
3028
3129 < fieldset >
3230 < legend > Shirt Colour Options</ legend >
3331 < p >
3432 < input type ="radio " name ="color " id ="colour_1 ">
35- < label for ="red "> Red</ label >
33+ < label for ="colour_1 "> Red</ label >
3634 </ p >
3735 < p >
3836 < input type ="radio " name ="color " id ="colour_2 ">
39- < label for ="blue "> Blue</ label >
37+ < label for ="colour_2 "> Blue</ label >
4038 </ p >
4139 < p >
4240 < input type ="radio " name ="color " id ="colour_3 ">
43- < label for ="green "> Green</ label >
41+ < label for ="colour_3 "> Green</ label >
4442 </ p >
4543 </ fieldset >
4644
4745 < fieldset >
4846 < legend > Shirt Size Options</ legend >
4947 < label for ="size "> Size Options</ label >
50- < select name ="size " id ="shirt- size ">
48+ < select name ="size " id ="size ">
5149 < option value ="xs "> Extra Small</ option >
5250 < option value ="s "> Small</ option >
5351 < option value ="m "> Medium</ option >
@@ -56,15 +54,13 @@ <h1>Product Pick</h1>
5654 < option value ="xll "> Extra Extra Large</ option >
5755 </ select >
5856 </ fieldset >
59- <!--
60- Writing that out as a series of questions to ask yourself:
6157
62- 1. What is the customer's name? I must collect this data and ensure it contains at least two non-space characters.
63- 2. What is the customer's email? I must make sure the email is valid. Email addresses follow a consistent pattern.
64- 3. What colour should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours?
65- 4. What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL
66- -->
58+ < div >
59+ < button class ="submit "> Continue with selection</ button >
60+ </ div >
61+
6762 </ form >
63+
6864 </ main >
6965 < footer >
7066 < p > By MATTHAUS BAUSE</ p >
0 commit comments