Stuck because the program isn't registering brown


#1

Hey all, here is my code for a section of the basics. For whatever reason, everything works except the "brown" background color. It comes out looking dark red. It even keeps telling me to set the body background color to brown. I'm not too stressed since I know I can do the skill. However, seeing that incomplete will nag me until I can go back and fix it. Thanks!

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

#2

style requires the use of quotation marks (")


#3

Thank you for the speedy response! However, this did not change the color of the background. The background is a dark red color when I use brown (with or without quotation marks). I can change it to blue, or red, or green, etc. The only one that doesn't seem to work is brown.
Is there any way it could be a computer setting?
Thanks again


#4

using the quotation marks should mean you can pass the exercise

Codecademy has no influence on the keywords for the colors.


#5

Like this? I still get "Oops, try again. Make sure you set the body's background-color to brown."
Sorry for the trouble

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

#6

the semi-colon should be before the quotation mark which closes the style attribute, all property's + values (and semi-colons to separate property value pairs) should be between the 2 quotation marks


#7

Thank you oh grand coding wizard. I appreciate the help!


#8