Learn basic CSS by building a cafe menu

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.

the answer i gave is:
.flavor.dessert {
text-align: left;
width: 75%;
}

but this seems not to be the correct answer How can I do this

It would be helpful to know what step this is for.

But my guess is that your selector is wrong:

.flavor.dessert {

This says to target elements that have both the flavor AND dessert classes. Is this really what you want? Or should you target elements that have either the flavor OR dessert class?

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