Background color bug?

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

Oops, try again. Make sure you set the body's background-color to brown.

why ?


you wrote "style="background-color: brown;" in the body. its supposed to go into the head


No. The code looks correct. It can be done in the head though:


You need to look at the space you've inserted into the content of the second style attribute.

The syntax you should use is:

style="property: value;"

So, no space between the value and the ;


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