File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 " />
55 < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
66 < title > My form exercise</ title >
7- < meta name ="description " content ="" />
7+ < meta name ="description " content ="T-Shirts form " />
88 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
99 < link rel ="stylesheet " href ="style.css " />
1010 </ head >
@@ -15,11 +15,11 @@ <h1>T-Shirts</h1>
1515 < main >
1616 < form >
1717 < label for ="name "> Name</ label >
18- < input id ="name " type ="text "/>
18+ < input id ="name " type ="text " required />
1919 < label for ="email "> Email</ label >
20- < input id ="email " type ="email "/>
20+ < input id ="email " type ="email " required />
2121 < label for ="size "> Size
22- < select id ="size ">
22+ < select id ="size " required >
2323 < option value ="xsmall "> XS</ option >
2424 < option value ="small "> S</ option >
2525 < option value ="medium "> M</ option >
@@ -29,7 +29,7 @@ <h1>T-Shirts</h1>
2929 </ select >
3030 </ label >
3131 < label for ="colour "> Colour
32- < select id ="colour ">
32+ < select id ="colour " required >
3333 < option value ="yellow "> Yellow</ option >
3434 < option value ="black "> Black</ option >
3535 < option value ="pink "> Pink</ option >
You can’t perform that action at this time.
0 commit comments