How to use two class selectors for the same elements?

Hello guys, I am stuck on step 52 of CSS.

I have tried to place the two classes but I keep getting errors. What can I do please?

.flavor.dessert {

text-align: left;

width: 75%;


Hi @ Professorpreneur, and welcome to the forum!

We can group css selectors by separating them with a comma.

So, for example, to apply the same css rule to html elements with class="one" and to html elements with class="two", we can code

.one, .two {
    css property/value pairs here

Just for future reference - when you want to post a question in the forum, you can do that by clicking the Ask for Help button located on the challenge.

That will create a new topic with all your code and it also includes a (very helpful) link to the challenge.
You’ll still be able to ask your question in the post before submitting it to the forum.

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