@@ -13,22 +13,51 @@ <h1>Product Pick</h1>
1313 </ header >
1414 < main >
1515 < form >
16- < label > Name</ label >
17- < input >
18- < label > Email</ label >
19- < input >
20- < label > Colour</ label >
21- < input >
22- < label > Size</ label >
23- <!-- write your html here-->
24- <!--
25- try writing out the requirements first as comments
26- this will also help you fill in your PR message later-->
16+ < div >
17+ < label for = "name "> Name</ label >
18+ < input type = "text " name = "name " id = "name " minlength = "2 " required />
19+ </ div >
20+
21+
22+ < div >
23+ < label for = "email "> Email</ label >
24+ < input type = "email " name = "email " id = "email " required />
25+ </ div >
26+
27+
28+ < div >
29+ < p > Colour</ p >
30+ < input type ="radio " name = "colour " id = "red " value = "Red " required />
31+ < label for = "red "> Red</ label >
32+
33+ < input type = "radio " name = "color " id = "blue " value = "Blue "/>
34+ < label for = "blue "> Blue</ label >
35+
36+ < input type = "radio " name = "colour " id = "black " value = "Black "/>
37+ < label for = "black "> Black</ label >
38+ </ div >
39+
40+ < div >
41+ < label for ="size "> Size</ label >
42+
43+ < select name ="size " id ="size " required >
44+ < option value =""> Select a size</ option >
45+ < option value ="XS "> XS</ option >
46+ < option value ="S "> S</ option >
47+ < option value ="M "> M</ option >
48+ < option value ="L "> L</ option >
49+ < option value ="XL "> XL</ option >
50+ < option value ="XXL "> XXL</ option >
51+ </ select >
52+ </ div >
53+ < div >
54+ < button type ="submit "> Submit</ button >
55+ </ div >
2756 </ form >
2857 </ main >
2958 < footer >
3059 <!-- change to your name-->
31- < p > By HOMEWORK SOLUTION </ p >
60+ < p > Asanda Dunn </ p >
3261 </ footer >
3362 </ body >
3463</ html >
0 commit comments