File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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- <!--
18- try writing out the requirements first as comments
19- this will also help you fill in your PR message later-->
20- </ form >
21- </ main >
22- < footer >
23- <!-- change to your name-->
24- < p > By HOMEWORK SOLUTION</ p >
25- </ footer >
26- </ body >
3+ < head >
4+ < style >
5+ body {
6+ font-family : Helvetica;
7+ font-size : 30px
8+ }
9+ form {
10+ display : flex;
11+ flex-direction : column;
12+ gap : 10px ;
13+ }
14+ input , select {
15+ font-size : 20px ;
16+ }
17+ button {
18+ font-size : 20px ;
19+ width : 100px ;
20+ }
21+ </ style >
22+ < meta charset ="UTF-8 ">
23+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
24+ < title > Form</ title >
25+ < body >
26+ < H1 > T-Shirts</ H1 >
27+ < form >
28+ < div >
29+ < label > Name</ label >
30+ < input >
31+ </ div >
32+ < div >
33+ < label > Email</ label >
34+ < input >
35+ </ div >
36+ < div >
37+ < label > Size
38+ < select >
39+ < option value ="xsmall "> XS</ option >
40+ < option value ="small "> S</ option >
41+ < option value ="medium "> M</ option >
42+ < option value ="large "> L</ option >
43+ < option value ="xlarge "> XL</ option >
44+ < option value ="xxlarge "> XXL</ option >
45+ </ select >
46+ </ label >
47+ </ div >
48+ < div >
49+ < label > Colour
50+ < select >
51+ < option value ="yellow "> Yellow</ option >
52+ < option value ="black "> Black</ option >
53+ < option value ="pink "> Pink</ option >
54+ </ select >
55+ </ label >
56+ </ div >
57+ < button > Submit</ button >
58+ </ form >
59+ </ body >
2760</ html >
You can’t perform that action at this time.
0 commit comments