Assessment wanted for Selectors skill test 2

I’m working on this test, but I don’t know why the class especial doesn’t work.
this is the code!

Can you provide the challenge link?

1 Like

Hello @laraof.dev

hope that everything going fine with you

first special is id not class according to your code
and i checked the code and it work or i miss understand something here

when you use id in css you do not need to add any extra selector with it as the id should be unique

hope that help and have a nice day

1 Like

This is the link for the test:

Oh, I’m so sorry. Now I was looking at the code and the thing that isn’t working is this: .alert { border: grey 1px; }

I don’t know why, but the border isn’t there.

Hi, I now know that’s happening.

“border” shorthand sets values for border-width , border-style , and border-color .

Since you didn’t specify border-style and its default value is none, so you won’t see the border.

More information at this link.

2 Likes

Thank you so much. Now, I got it.