11<!DOCTYPE html>
22< html lang ="en ">
3- < head >
4- < meta charset ="utf-8 " />
5- < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6- < title > My form exercise</ title >
7- < meta name ="description " content ="" />
8- < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
9- </ head >
10- < body >
11- < header >
12- < h1 > Product Pick</ h1 >
13- </ header >
14- < main >
15- < form >
16- <!-- write your html here-->
17- <!--
3+
4+ < head >
5+ < meta charset ="utf-8 " />
6+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
7+ < title > My form exercise</ title >
8+ < meta name ="description " content ="" />
9+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
10+ </ head >
11+
12+ < body >
13+ < header >
14+ < h1 > Product Pick</ h1 >
15+ </ header >
16+ < main >
17+ < form >
18+ <!-- write your html here-->
19+ <!--
1820 try writing out the requirements first as comments
1921 this will also help you fill in your PR message later-->
20-
21- <!--Create an input for NAME-->
22- < div >
23- < label for ="name "> Name</ label >
24- < input name ="name " id ="name " type ="text " placeholder ="full name " pattern =".*\S.*\S.* " required >
25- </ div >
26- <!--Add an imput for Email-->
27- < div >
28- < label for ="email "> Email</ label >
29- < input type ="email " name ="email " id ="email " required >
30- </ div
31- <!--create a select for colour-->
32- < div >
33- < label for ="colour "> Colour</ label >
34- < select name ="colour " id ="colour " required >
35- < option value ="red "> Red</ option >
36- < option value ="green "> Green</ option >
37- < option value ="blue "> Blue</ option >
38- </ select >
39- </ div >
40-
41- <!--create a select for the shirt size-->
42- < div >
43- < label for ="size "> Size</ label >
44- < select name ="size "id ="size " required > Size</ select >
22+
23+ <!--Create an input for NAME-->
24+ < div >
25+ < label for ="name "> Name</ label >
26+ < input name ="name " id ="name " type ="text " placeholder ="full name " pattern =".*\S.*\S.* " required >
27+ </ div >
28+ <!--Add an imput for Email-->
29+ < div >
30+ < label for ="email "> Email</ label >
31+ < input type ="email " name ="email " id ="email " required >
32+ </ div >
33+ <!-- create a select for color-->
34+ < div >
35+ < label for ="color "> Color</ label >
36+ < select name ="color " id ="color " required >
37+ < option value =""> Select a Color</ option >
38+ < option value ="red "> Red</ option >
39+ < option value ="green "> Green</ option >
40+ < option value ="blue "> Blue</ option >
41+ </ select >
42+ </ div >
43+
44+ <!--create a select for the shirt size-->
45+ < div >
46+ < label for ="size "> Size</ label >
47+ < select name ="size " id ="size " required >
48+ < option value =""> Select a Size</ option >
4549 < option value ="extraSmall "> XS</ option >
4650 < option value ="small "> S</ option >
4751 < option value ="medium "> M</ option >
4852 < option value ="large "> L</ option >
4953 < option value ="extraLarge "> XL</ option >
5054 < option value ="extraExtraLarge "> XXL</ option >
51- </ div >
52- </ form >
53- </ main >
54- < footer >
55- <!-- change to your name-->
56- < p > By Liridona Shehu</ p >
57- </ footer >
58- </ body >
59- </ html >
55+ </ select >
56+ </ div >
57+ </ form >
58+ </ main >
59+ < footer >
60+ <!-- change to your name-->
61+ < p > By Liridona Shehu</ p >
62+ </ footer >
63+ </ body >
64+
65+ </ html >
0 commit comments