Chapter 12 Background Color


#1


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


Hello everyone, I'm just having trouble with this one exercise. The instructions say that I need to change the background color of the ol tag to yellow, but when I put the style tag right next to it, it still says I'm doing something wrong.


<!DOCTYPE html>
<html>
    <head>
        <title>Sexy background color!</title>
    </head>
    <body><p style="background-color: brown;">Hello!</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

Hi this line

<body><p style="background-color: brown;">Hello!</p>

you should put

style="background-color: brown;"

inside the <body> tag the same here

<ol><p style="background-color: yellow;"></p>

put it inside the <ol> tag


#3

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