I am stuck on HTML basics II - Background color


#1

i simply just dont understand what the instructions are asking me
instructions:

Change the background color of the <body> tag to brown. To do so, add the style attribute to the opening <body> tag, similar to the example above.
Change the background color of the <ol> tag to yellow.

my code:

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

#3

Hi first they aske you to change the color fo the body its like that <body style="background-color:brown;"> and then the <ol> and its like that <ol style="background-color:yellow">


#4

@pywhiz67307, your method is outdated/wrong, you should use the style attribute

@10dechad, go with @wizmarco solution


#5

@stetim94 Yep. Realized that as soon as I hit reply.


#6

i got an error message saying

Oops, try again. Make sure you set the ordered list's (<ol>'s) background-color to yellow.

when it is set to yellow. here is my code

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

#7

nevermind i got it, sorry about the mistake


#13

HTML Basico II, O passo 12. Cor de Fundo, pede erradamente para mudar a cor do fundo para (marrom) e não para (maroon), e a cada tentativa apararece o erro:
Oops, tente outra vez. Certifique-se de deixar o fundo da página da cor marrom.
Ajudem-me, como faço para passar?

I'm coding in portuguese, and I'm having issues with the 12. Cor de fundo step, asking to change the background-color to (marrom) not to (maroon). Im just stucked here, and cant pass HTML basics II...Help please...


#15

Please create a new topic with your code + error message + url of the exercise so someone can help you