Background Color


#1

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

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


<!DOCTYPE html>
<html>
	<head>
		<title>Sexy background color!</title>
	</head>
	<body p style="background-color: brown;"></p>
		<h3>Favorite Football Teams</h3>
			<ol p style="background-color: yellow;"></p>
				<li>The Hawthorn Football Club</li>	
				<li>San Franscisco 49ers</li>
				<li>Barcelona FC</li>
			</ol>			
	</body>
</html>


#2

@chipslayer27401

Hey,

remove that p inside the body opening tag.

remove that p inside the body opening tag and place ol instead of p tag in the closing html tag because we are closing ol tag and not the p tag.


#3

Were your trying to change the background color of the body or the paragraph?

this might help:




Sexy background color!


Favorite Football Teams



  1. The Hawthorn Football Club

  2. San Franscisco 49ers

  3. Barcelona FC




#4