File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 < h1 > Product Pick</ h1 >
1313 </ header >
1414 < main >
15- < 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-->
20- </ form >
15+ < form >
16+
17+ < label for ="name "> Customer Name</ label >
18+ < input
19+ type ="text "
20+ id ="name "
21+ name ="name "
22+ required
23+ pattern =".*\S.*\S.* "
24+ minlength ="2 "
25+ />
26+
27+
28+ < label for ="email "> Email Address</ label >
29+ < input
30+ type ="email "
31+ id ="email "
32+ name ="email "
33+ required
34+ /> < br />
35+
36+ <!-- T-Shirt Colour -->
37+ < fieldset >
38+ < legend > T-Shirt Colour</ legend >
39+
40+ < label >
41+ < input type ="radio " name ="colour " value ="Black " required />
42+ Black
43+ </ label >
44+
45+ < label >
46+ < input type ="radio " name ="colour " value ="White " />
47+ White
48+ </ label >
49+
50+ < label >
51+ < input type ="radio " name ="colour " value ="Blue " />
52+ Blue
53+ </ label >
54+ </ fieldset >
55+
56+ <!-- T-Shirt Size -->
57+ < label for ="size "> T-Shirt Size</ label >
58+
59+ < select id ="size " name ="size ">
60+ < option value =""> Please choose a size</ option >
61+ < option value ="XS "> XS</ option >
62+ < option value ="S "> S</ option >
63+ < option value ="M "> M</ option >
64+ < option value ="L "> L</ option >
65+ < option value ="XL "> XL</ option >
66+ < option value ="XXL "> XXL</ option >
67+ </ select >
68+
69+
70+ </ form >
2171 </ main >
2272 < footer >
2373 <!-- change to your name-->
24- < p > By HOMEWORK SOLUTION </ p >
74+ < p > Mahdi Rafiei </ p >
2575 </ footer >
2676 </ body >
2777</ html >
You can’t perform that action at this time.
0 commit comments