Need help CSS declarations

Hello,

I have a problem with one of the lesson instruction. Eventhough should be very simple it seems it does not work for me.
Instructions:
1.
In style.css, change the color of the heading to FireBrick.
2…
Add another selector that changes the font-size of the paragraph to 18px.

What I have wrote
h1 {
color:Firebrick;
font-size:18px;
}

Response:
It gives me all the time this error:
Did you change the font size of the paragraph to 18px?

and I do not understand why. What did I do wrong??

Link: *https://www.codecademy.com/courses/learn-html-css/lessons/css-structure-syntax/exercises/css-declarations?action=lesson_resume

Can you copy/paste your code?

sure. Here it is:

h1{
color:Firebrick;
font-size:18px;
}

It asks you to change the font-size of the p, not the h1. Firebrick is correct in h1.

aaaaa :grinning:
thanks a lot!! next time need to read more carefully what it says
it works fine now!

No worries…I’ve done that a bunch of times! Glad to help!

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