Step 32 of building a cafe menu

I’m stuck on step 32 of learning basic css by building a cafe menu, can anybody help with this?

Please post your code (not a picture or screenshot), a link to the step, and a description of how you are stuck. Thanks

<p class-name: flavor>French Vanilla</p>
            <p>3.00</p>

I’ve never done this before and i can’t figure out how to use the class name

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Look on line 10. How did you add a class there?

I tried that and it’s still telling me I should add the flavor class to the p element.

This is not how you added a class on line 10

yes, you’re right, I did it like this, but it’s still telling me to add the flavor class to the p element

<p class: flavor>French Vanilla</p>

This is also not how you did it on line 10 though? I am talking about the div with the class of menu.

yes, you’re right! i got mixed up between the CSS and the html. Thanks so much!

1 Like