Learn CSS Colors by Building a Set of Colored Markers - Step 78

Tell us what’s happening:

Create a new rule to target both the cap and sleeve classes, and set display to inline-block , but i keep having error, what 's wrong on my code…
of course i talk to my friend google for a long time…

  **Your code so far**
.cap.sleeve { 
display: inline-block; 
}

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 78

Link to the challenge:

Hint

You should use a class selector to target both the cap and sleeve classes.

If i am not mistaken i declare the both clasees right…

I had this issue and everything told me I was doing it right however I thought let me add a comma between cap and sleeve and it’s worked. so should look like below…

.cap, .sleeve {
display: inline-block;
}

this is weird, because , when you look at how to put a multiple selector it isn’t like that ?
it worked but we must find why before to close the subject thanks…