Learn css colors by building color markers: what's wrong with my code?

link to my work :

.cap .sleeve {
  display: inline-block
}

Your selector here is saying "find all elements that have a class of sleeve and are also children of elements with a class of cap". What you want is a selector that says "find all elements with a class of either cap or sleeve". You can do this by separating them with a comma.

1 Like

thanks, Iā€™m gratefull

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