Background won't change to brown


#1


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


This is what my code looks like: The background looks red, even though I specified brown. The error message reads:

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




Sexy background color!

<body style="background-color: brown;"

Favorite Football Teams


<ol style="background-color: yellow;"
  • The Hawthorn Football Club

  • San Franscisco 49ers

  • Barcelona FC



  • What did I miss?


    Replace this line with your code.


    #2

    Sorry, this is how it reads:

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

    #3

    So weird, it doesn't paste right =(




    Sexy background color!

    <body style="background-color: brown;"

    Favorite Football Teams


    <ol style="background-color: yellow;"
  • The Hawthorn Football Club

  • San Franscisco 49ers

  • Barcelona FC




  • #4

    you need to use markup:

    your <body> is missing the > to mark the end of the opening tag


    #5

    That worked - thank you!


    #6