This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

1527 points
537dde4d8c1ccc0d1b0018b4_349482845
Submitted by
mcesar
almost 3 years ago

21/28 Why looks like my 'a' selector doesn't have the color: #cc0000;?

21/28
stylesheet.css:
/Add your CSS below!/
p {
color: #cc0000;
}
a {
text-decoration:none;
}

Mensage:'It looks like your 'a' selector doesn't have the color #cc0000."


4 votes

permalink

Instead of having p{.....
have a{...

208 points
1a0ded5470b61785ff21552955ede15d?s=140&d=retro
Submitted by
UltimateHacker2303
over 2 years ago


3 votes

permalink

There is a white space issue with checking the stylesheet.

Need to have no space between text-decoration and :

eg
text-decoration: none; (will let you pass successfully)
text-decoration : none; (will say you haven't set text-decoration)

493 points
Bca64ad90100eebba49a5af209212d7e?s=140&d=retro
Submitted by
paulbme
almost 3 years ago

1 Comment

Ae1dad77d4bd7d34d853845a35afe870?s=140&d=retro qwerty almost 3 years ago

thx helped me too


2 votes

permalink

I think ur problem is that u have a p { instead of a a {. It may work, or it might not. I'm just trying to help. Well, make the best of it! X3

173 points
53d7fb808c1cccf02e0005d4_65419616
Submitted by
Sakura
almost 3 years ago

2 Comments

537dde4d8c1ccc0d1b0018b4_349482845 mcesar almost 3 years ago

thanks

Edbaf672bab242745af3ae8d0368bc3b?s=140&d=retro Miranda.Gleave over 1 year ago

Had the same problem but changing this worked for me!


1 vote

permalink

a {
color: #cc0000;
text-decoration-none;
}

202 points
5425f9e19c4e9d04df004524_304703280
Submitted by
VhaNKNisH
almost 3 years ago

1 Comment

537dde4d8c1ccc0d1b0018b4_349482845 mcesar almost 3 years ago

Thanks a lot, a detail, but I don't were seeing, very good Aven!


1 vote

permalink

/Add your CSS below!/
a {color:#cc0000;
text-decoration:none;
}

332 points
F9b46bc77f2272a4978d5af0329981dc?s=140&d=retro
Submitted by
nithingopinath
almost 3 years ago

2 Comments

537dde4d8c1ccc0d1b0018b4_349482845 mcesar almost 3 years ago

thanks n....

Picture Jieyi Chu almost 3 years ago

thank you