File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 < head >
44 < meta charset ="utf-8 " />
55 < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6- < title > Sprint 1 form controls exercise</ title >
6+ < title > My Sprint 1 form controls exercise</ title >
77 < meta name ="description " content ="" />
88 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
99 < link rel ="stylesheet " href ="css/style.css ">
1010 </ head >
1111 < body >
1212 < header >
13- < h1 > Insert Your Name Below </ h1 >
13+ < h1 > Product Pick </ h1 >
1414 </ header >
1515 < main >
1616 < form >
17- < label for ="fullname "> Name: </ label >
18- < input type ="text " name ="fullname " id ="fullname " required maxlength ="100 ">
19- < button > Submit</ button >
17+ < fieldset >
18+ < lengend >
19+ Person name and email</ lengend >
20+ < div class ="form-group ">
21+ < label for ="fullname "> Full Name:</ label >
22+ < input type ="text " id ="fullname " required minlength ="2 ">
23+ </ div >
24+ < div class ="form-group ">
25+ < label for ="email "> Email:</ label >
26+ < input type ="email " id ="email " required pattern ="^.+@.+\..+$ ">
27+ </ div >
28+
29+
30+ </ div >
31+ </ fieldset >
32+ <!--
33+ Create a form that can collect
34+ name, email, preferred tshirt colour and size from user-->
2035 </ form >
2136 </ main >
2237 < footer >
You can’t perform that action at this time.
0 commit comments