There are some errors in this code. Could you help fix the following errors? - Your code must have a style tag - All li tags must have a font size of 20px - All body tags must have a background-color of LightBlue - All h1 tags must have a background-color of LawnGreen -All h2 tags must have a background-color of LightYellow - All ul tags must have a background-color of Sienna - All ol tags must have a background-color of Orchid Here is the code below: <!DOCTYPE html><html> <head> <title>Music Festival</title> <style> body{ background-color:LightBlue; } h1{ background-color:LawnGreen; } h2{ background-color:LightYellow; } ul{ background-color:Sienna; } ol{ background-color:Orchid; } li{ font-size:"20px"; } </style> </head> <body> <h1>Loud 'n' Louder Music Festival</h1> <h2>Our Line up</h2> <ul> <li>Karel Of The Sound</li> <li>Climbing Enlightenment</li> <li>Mount Altitude And The Mall</li> <li>Princess Atom</li> </ul> <h2>Other Goings-On</h2> <ul> <li>Face Painting</li> <li>Meet the bands <ol> <li>Get their autographs!</li> <li>Take your picture!</li> <li>Free snacks!</li> </ol> </li> <li>Food Vendors <ol> <li>Pizza</li> <li>Pretzels</li> <li>Funnel Cake!</li> </ol> </li> </ul> </body></html>
There are some errors in this code. Could you help fix the following errors?
- Your code must have a style tag
- All li tags must have a font size of 20px
- All body tags must have a background-color of LightBlue
- All h1 tags must have a background-color of LawnGreen
-All h2 tags must have a background-color of LightYellow
- All ul tags must have a background-color of Sienna
- All ol tags must have a background-color of Orchid
Here is the code below:
<!DOCTYPE html>
<html>
<head>
<title>Music Festival</title>
<style>
body{
background-color:LightBlue;
}
h1{
background-color:LawnGreen;
}
h2{
background-color:LightYellow;
}
ul{
background-color:Sienna;
}
ol{
background-color:Orchid;
}
li{
font-size:"20px";
}
</style>
</head>
<body>
<h1>Loud 'n' Louder Music Festival</h1>
<h2>Our Line up</h2>
<ul>
<li>Karel Of The Sound</li>
<li>Climbing Enlightenment</li>
<li>Mount Altitude And The Mall</li>
<li>Princess Atom</li>
</ul>
<h2>Other Goings-On</h2>
<ul>
<li>Face Painting</li>
<li>Meet the bands
<ol>
<li>Get their autographs!</li>
<li>Take your picture!</li>
<li>Free snacks!</li>
</ol>
</li>
<li>Food Vendors
<ol>
<li>Pizza</li>
<li>Pretzels</li>
<li>Funnel Cake!</li>
</ol>
</li>
</ul>
</body>
</html>
Unlock instant AI solutions
Tap the button
to generate a solution








