Background color bug?


#1
<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 ?


#2

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


#3

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


#5

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 ;


#6

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