Help for css step 51 of building a cafe menu

Hey Im struggling on step 51 of css cafe menu and I need help

Here is the question

Step 51

Something does not look right. You added the correct class attribute value to the p element with Donut as its text, but you have not defined a selector for it.

The CSS rule for the flavor class already sets the properties you want. Add the dessert class as an additional selector for this CSS rule.

And here is my styles css code because theres two seperate files one for html and one for css ok here it is:

.dessert .flavor {
  text-align: left;
  width: 75%;

.price {
  text-align: right;
  width: 25%

Theres more before this but that is the relevant code based on what it was asking me If you need the rest I can send it.

Its best practice to send all of your html and all CSS with your question. This way we can get everything we need to help the best we can. For future reference if you submit and fail a challenge three times you will see a question mark appear. If you click on this it will automatically generate a new post with all your code and a link to the challenge.

As far as this code goes, if you want to include two css classes into one style you need to separate them with a comma


Thank you just adding a comma made my code correct I completely forgot about adding that

Mod edit: removed code


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

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