Please help: Step 52

Step 52

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.
Since the flavor class selector already has the properties you want, just add the dessert class name to it.

BUT whatever I try i get stuck on error:
#Hint: You should add the .dessert selector to your .flavor selector.

I think I do not understand what to write in both css and html file

need to select both classes
just put , between classes

1 Like

how shoud I declare the class in css? like this?
.flavor.dessert {
text-align: left;
width: 75%;
}

Finally got it!
I wrote with the comma + point as well:

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

Thank you

3 Likes

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