23. Many selectors, many properties (color error)


#1

HTML:

<!DOCTYPE html>
<html>
    <head>
    <link type="text/css" rel="stylesheet" href="stylesheet.css"/>  
        <title>Result</title>
    </head>
    <body>
        <h1>HELLO WORLD</h1>
            <p>Nice weather n all</p>
    </body>
</html>

CSS:

h1 {
    font-family: Verdana;
    color: #576D94;
}
p {
    font-size: 18px;
    color: #4A4943;
}

Getting the error message "Oops, try again. Don't forget to set your p color to #4A4943!". Where am I going wrong? None of the other threads seem to give an answer that helps. Changing browser didn't help either. Thanks!


#2

Hi you did close the p selector well

p {
    font-size: 18px;
    color: #4A4943;
{ <-- #this should be }

The same here

h1 {
    font-family: Verdana;
    color: #576D94;
{   <-- #this should be }

#3

Knew it was something easy. Cheers!


#4

Mmm odd. I think it is something with Firefox. Refresh and it works after the small fix. Does't acknowledge the change otherwise.


#5

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