File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -15,52 +15,54 @@ <h1>Product Pick</h1>
1515 < form >
1616
1717 <!-- Name input -->
18- < p >
18+ < div >
1919 < label for ="name "> Name</ label > < br >
2020 < input type ="text " id ="name " name ="user_name "
2121 placeholder ="John Smith "
2222 required minlength ="2 ">
23- </ p >
23+ </ div >
24+ < br >
2425
2526 <!-- Email input -->
26- < p >
27+ < div >
2728 < label for ="email "> Email</ label > < br >
2829 < input type ="email " id ="email " name ="user_email "
2930 placeholder ="johnsmith@hotmail.com "
3031 required minlength ="5 ">
31- </ p >
32+ </ div >
33+ < br >
3234
3335 <!-- Colour selection -->
3436 < fieldset >
3537 < legend > Colour</ legend >
3638
37- < p >
39+ < div >
3840 < label >
3941 < input type ="radio " name ="colour " value ="red " required >
4042 Red
4143 </ label >
42- </ p >
43- < p >
44+ </ div >
45+ < div >
4446 < label >
4547 < input type ="radio " name ="colour " value ="blue ">
4648 Blue
4749 </ label >
48- </ p >
49- < p >
50+ </ div >
51+ < div >
5052 < label >
5153 < input type ="radio " name ="colour " value ="green ">
5254 Green
5355 </ label >
54- </ p >
56+ </ div >
5557 </ fieldset >
58+ < br >
5659
5760 <!-- Size selection -->
5861 < fieldset >
5962 < legend > Select Size</ legend >
6063
6164 < div >
62- < label for ="size "> Select Size</ label > < br >
63- < select id ="size " name ="size " required >
65+ < select id ="size " name ="size " required >
6466 < option value ="" selected disabled > Select a size</ option >
6567 < option value ="xs "> XS</ option >
6668 < option value ="s "> S</ option >
@@ -69,13 +71,14 @@ <h1>Product Pick</h1>
6971 < option value ="xl "> XL</ option >
7072 < option value ="xxl "> XXL</ option >
7173 </ select >
72- </ p >
74+ </ div >
7375 </ fieldset >
76+ < br >
7477
7578 <!-- Submit button -->
76- < p >
79+ < div >
7780 < button type ="submit "> Submit</ button >
78- </ p >
81+ </ div >
7982
8083 </ form >
8184 </ main >
You can’t perform that action at this time.
0 commit comments