Background color in HTML Basics II, help plz!


#1

https://www.codecademy.com/courses/web-beginner-en-y2Yjd/2/1?curriculum_id=50579fb998b470000202dc8b

I clearly have an inline style added to my body tag to make it brown, but to the right it keeps displaying as red, and the error message I'm getting says: "Oops, try again. Make sure you set the body's background-color to brown."

Here's the code I'm using:


<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>

#2

Semicolon should be inside the style definition:

style="background-color:brown;"

#3

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