File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ <h1>T-Shirt Order Form</h1>
1616 <!-- 2. Main Content Container -->
1717 < main >
1818 < form >
19- < div >
19+ < div class =" form-group " >
2020 < label for ="name "> Full Name:</ label >
2121 < input type ="text " id ="name " name ="name " required >
2222 </ div >
2323
24- < div >
24+ < div class =" form-group " >
2525 < label for ="email "> Email Address:</ label >
2626 < input type ="email " id ="email " name ="email " required >
2727 </ div >
@@ -30,24 +30,24 @@ <h1>T-Shirt Order Form</h1>
3030 < fieldset >
3131 < legend > T-shirt Colour:</ legend >
3232
33- < div >
33+ < div class =" form-group " >
3434 < input type ="radio " id ="colour-red " name ="colour " value ="red " required >
3535 < label for ="colour-red "> Red</ label >
3636 </ div >
3737
38- < div >
38+ < div class =" form-group " >
3939 < input type ="radio " id ="colour-blue " name ="colour " value ="blue ">
4040 < label for ="colour-blue "> Blue</ label >
4141 </ div >
4242
43- < div >
43+ < div class =" form-group " >
4444 < input type ="radio " id ="colour-black " name ="colour " value ="black ">
4545 < label for ="colour-black "> Black</ label >
4646 </ div >
4747 </ fieldset >
4848
4949 <!-- T-shirt Size -->
50- < div >
50+ < div class =" form-group " >
5151 < label for ="size "> T-shirt Size:</ label >
5252 < select id ="size " name ="size " required >
5353 < option value ="" disabled selected > Select a size</ option >
Original file line number Diff line number Diff line change 1818 box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.1 );
1919}
2020
21- div {
21+ . form-group {
2222 margin-bottom : 15px ;
2323}
2424
@@ -61,7 +61,10 @@ button[type="submit"] {
6161 border-radius : 4px ;
6262 cursor : pointer;
6363}
64-
64+ button [type = "submit" ]: hover {
65+ background-color : # 0056b3 ;
66+ cursor : pointer;
67+ }
6568footer {
6669 margin-top : 20px ;
6770 text-align : center;
You can’t perform that action at this time.
0 commit comments