I am stucked at 12.background color


#1

<!DOCTYPE html>
<html>
    <head>
        <title>Sexy background color!</title>
    </head>
    <body><p style="background-color: brown;"></p>
        <h3>Favorite Football Teams</h3>
            <ol style="background-color:yellow;">
                <li>The Hawthorn Football Club</li>    
                <li>San Franscisco 49ers</li>
                <li>Barcelona FC</li>
            </ol>            
    </body>
</html>.>


Replace this line with your code.


#2

remove the paragraph tags and add the style attribute to the body opening tag


#4

Heading

<!DOCTYPE html>
<html>
	<head>
		<title>Sexy background color!</title>
	</head>
	<body style= background-color:brown>
		<h3>Favorite Football Teams</h3>
			<ol style=background-color:yellow>
				<li>The Hawthorn Football Club</li>	
				<li>San Franscisco 49ers</li>
				<li>Barcelona FC</li>
			</ol>			
	</body>
</html>

What is wrong with this code? I continue to get "oops try again" messages that say Make sure you set the body's background-color to brown.


#5

your quotation marks (") are missing, they should be around the background-color brown


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.