Learn Basic CSS by Building a Cafe Menu - Step 60

** Make the Est. 2020 text italicized by creating an established class selector and giving it the font-style property with the value `italic.

My code so far

Est. 2020

.established { font-style: italic; }

I cant figure out why this isnt working.

Hello and welcome to a great community, FCC Forum!

The selector should look like this.

element {
property: value;

}

If you have the Est. 2020 in the equation, it needs to be removed, to pass the step.
With removing that, your code should pass.

Happy coding! :slight_smile:

Thank you for the reply.

i started with creating the class selector as it asks. <p class=“established”

and then moved on to a new line to change the font of that class.
.established {
font-style: italic;
}
ive tried with font-family and font-style
but it still wont pass.

I suggest resetting the step and trying. Because you have it correct.

If that does not work, I suggest submitting it from another browser.

I tried it to make sure it worked before posting you.

You are doing great! So, it is a not the code.

Try resetting first, it may be something outside the code.

Could you please, if it is not still working, use the Help that appears after 3 unsuccessful attempts so we can see the full code. Often times, it is something simple that we all have missed on occasion.

1 Like

You do not need to add the p element.

will do , thanks a bunch!

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