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

Tell us what’s happening:
What’s wrong with how I wrote the code, I think, I wrote the code following the instruction
78css

  **Your code so far**
/* file: index.html */

  
      <div class="cap"></div>
      <div class="sleeve"></div>
    </div>
/* file: styles.css */


.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/105.0.0.0 Safari/537.36

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

Link to the challenge:

Did you mean .sleeve?

1 Like

No, I want to target both cap and sleeve using display property: with value sat to inline-block; and I did that, but what’s wrong with it (the code I’ve written) or is it something else factor

Were you trying to target the class .sleeve?

I try targeting cap and sleeve (both) using property display and the value set to inline-block;

Look again here.
This selector … which class is it targeting?

This html class


Nope…

Your selector only targets elements of class cap, not sleeve.

There’s a dot missing, no?

1
2
3

i try this but not workings

1 Like

Did you mean .cap or .caps?

.cap (like how it is written as the hint shown)

And your code has ???
(Check you spelling)

1 Like

thanks your jenius hehe

1 Like