Learn Basic CSS by Building a Cafe Menu - Step 32

Hello, I’m trying to add the class name flavor to the French Vanilla p element. I’ve tried adding the class=“flavor” before and after. The error message is you should add your flavor class to your p element. We are looking to create flavor on the left and price on the right.

            <p>French Vanilla class="flavor"</p>

The class must be added in the opening tag of an element. Your element is a paragraph, so add the class in its opening ‘p’ tag:

<element class="smth">Text</element> ------------- This is just an example!

Thank you. You explained it really well. I was able to solve it. :+1:

1 Like

Thank you for your clear explanation. Sometimes, the tutorial isn’t clear enough about syntax, and the “search for help” links link to the incorrect chapter, and are unhelpful.

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