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?

1 Like

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)

2 Likes

thanks your jenius hehe

1 Like

Did you solve this step?
I checked the spelling as well but still did not succeed.
Can you please share the outcome and code, if possible?

Did you solve this step?
I checked the spelling as well but still did not succeed.
Can you please share the outcome and code, if possible?

1 Like

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.