11<!DOCTYPE html>
22< html lang ="en ">
33 < head >
4- < link rel ="stylesheet " href ="./ style.css " >
4+ < link rel ="stylesheet " href ="style.css " >
55 < meta charset ="utf-8 " />
66 < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
77 < title > My form exercise</ title >
@@ -26,43 +26,45 @@ <h1>Product Pick</h1>
2626 < label for ="customername "> Customer name: </ label >
2727 < input type ="text " id ="customername " name ="customername " required
2828 pattern ="^[A-Za-z]{2,}$ "
29- placeholder ="Customer name "
30- />
31- < br />
29+ placeholder ="Customer name "/>
30+ < br />
31+
3232 < label for ="customeremail "> Customer email: </ label >
3333 < input type ="email " id ="customeremail " name ="customeremail " required
3434 pattern ="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ "
3535 placeholder ="Customer email " />
3636 < br />
37- < label for ="t-shirtColor "> T-shirt color:</ label >
38- < div class ="control ">
3937
40- < label class ="t-color ">
41- < input type ="radio " name ="color " value ="Black " required />
42- Black
43- </ label >
44- < label class ="t-color ">
45- < input type ="radio " name ="color " value ="Red " required />
46- Red
47- </ label >
48- < label class ="t-color " disabled >
49- < input type ="radio " name ="color " color ="Blue " required />
50- Blue
51- </ label >
52- </ div >
38+ < label for ="t-shirtColor "> T-shirt color:</ label >
39+ < div class ="control ">
40+ < label class ="t-color ">
41+ < input type ="radio " name ="color " value ="Black " required />
42+ Black
43+ </ label >
44+ < label class ="t-color ">
45+ < input type ="radio " name ="color " value ="Red " required />
46+ Red
47+ </ label >
48+ < label class ="t-color " disabled >
49+ < input type ="radio " name ="color " color ="Blue " required />
50+ Blue
51+ </ label >
52+ </ div >
53+
5354 < label for ="sizes "> T-shirt size:</ label >
54- < select name ="size " id ="sizes " required >
55- < option value ="xs "> XS</ option >
56- < option value ="s "> S</ option >
57- < option value ="m "> M</ option >
58- < option value ="l "> L</ option >
59- < option value ="XL "> XL</ option >
60- < option vallue ="XXL "> XXL</ optio >
61- </ select >
55+ < select name ="size " id ="sizes " required >
56+ < option value ="xs "> XS</ option >
57+ < option value ="s "> S</ option >
58+ < option value ="m "> M</ option >
59+ < option value ="l "> L</ option >
60+ < option value ="XL "> XL</ option >
61+ < option vallue ="XXL "> XXL</ optio >
62+ </ select >
63+
6264 < br />
6365 < button type ="submit " id ="submit "> Submit</ button >
6466 </ form >
65- </ main >
67+ </ main >
6668 < footer >
6769 <!-- change to your name-->
6870 < p > By Yonas Gebre</ p >
0 commit comments