Learn Basic CSS by Building a Cafe Menu - Step 61

Step 61

Now apply the established class to the Est. 2020 text.

In HTML I have it as:
<p class:“established”>Est. 2020

and I have CSS as:
.established {
font-style: italic;
}

It says that I should “set the class of the p element to established .”
I’m not sure what I’m doing wrong. Please help

please post a link to the step

I updated the post with the link!

class is an attribute so it needs an equal sign not a colon when it is being added to the p element. (give that a try and see if that helps you move forward)

Thank you so much! I can’t believe I was one character off from getting it right.

1 Like

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