@@ -17,7 +17,7 @@ <h1>Pick product</h1>
1717 <!-- 1. What is the customer's name? I must collect this data and ensure it contains at least two non-space characters.-->
1818 < div >
1919 < label for ="name "> Name</ label >
20- < input type ="text " id ="name " placeholder ="Chandrmani Gaire " pattern =".*\S.*\S. " required >
20+ < input type ="text " id ="name " placeholder ="Chandrmani Gaire " pattern =".*\S.*\S.* " required >
2121 </ div >
2222 < br >
2323 < div >
@@ -26,27 +26,56 @@ <h1>Pick product</h1>
2626 </ div >
2727 < br >
2828 < div >
29- <!--What colour should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours? -->
30- < label for ="coloroption "> Color option</ label >
31- < select id ="coloroption " name ="Color ">
32- < option value ="grey " > Grey</ option >
33- < option value ="black "> Black</ option >
34- < option value ="red "> Red</ option >
35- </ select >
29+ <!--What color should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours? -->
30+ </ div >
31+ < div >
32+ < legend > Color Option</ legend >
33+ </ div >
34+ </ div >
35+ < div >
36+ < input type ="radio " name ="grey " value ="grey " id ="grey " required >
37+ < label for ="grey "> Grey</ label >
38+ </ div >
39+ < div >
40+ < input type ="radio " name ="black " value ="black " id ="black " required >
41+ < label for ="black "> Grey</ label >
42+ </ div >
43+ < div >
44+ < input type ="radio " name ="red " value ="red " id ="red " required >
45+ < label for ="red "> Red</ label >
46+ </ div >
3647 </ div >
3748 < br >
3849 < div >
3950
4051 <!--What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL -->
41- < label for ="size "> Size</ label >
42- < select name ="differentsize " id ="size ">
43- < option value ="XS " > XS</ option >
44- < option value ="S " > S</ option >
45- < option value ="M " > M</ option >
46- < option value ="L " > L</ option >
47- < option value ="XL " > XL</ option >
48- < option value ="XXL " > XXL</ option >
49- </ select >
52+ < div >
53+ < legend > Size</ legend >
54+ </ div >
55+ < div >
56+ < input type ="radio " name ="xs " value ="xs " id ="xs " required >
57+ < label type ="xs "> XS</ label >
58+ </ div >
59+ < div >
60+ < input type ="radio " name ="s " value ="s " id ="s " required >
61+ < label type ="s "> S</ label >
62+ </ div >
63+ < div >
64+ < input type ="radio " name ="m " value ="m " id ="m " required >
65+ < label type ="m "> M</ label >
66+ </ div >
67+ < div >
68+ < input type ="radio " name ="l " value ="l " id ="l " required >
69+ < label type ="l "> L</ label >
70+ </ div >
71+ < div >
72+ < input type ="radio " name ="xl " value ="xl " id ="xl " required >
73+ < label type ="xl "> XL</ label >
74+ </ div >
75+ < div >
76+ < input type ="radio " name ="xxl " value ="xxl " id ="xxl " required >
77+ < label type ="xxl "> XXL</ label >
78+ </ div >
5079 </ div >
5180 < br >
5281 < div >
@@ -61,7 +90,7 @@ <h1>Pick product</h1>
6190 </ main >
6291 < footer >
6392 <!-- change to your name-->
64- < p > By Chandramani Gaire</ p >
93+ < p > By Chandramani Gaire</ p >
6594 </ footer >
6695 </ body >
6796</ html >
0 commit comments