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

CSS: An Overview Forum

View Course » View Exercise

483 points
D89d84cc580ae7c43beaf33c8acb0fd8?s=140&d=retro
Submitted by
DeepikaB
about 3 years ago

I can't complete an exercise. Seems like a bug.

In Links and text decoration exercise, I wrote the below code.
a
{
color : #cc0000;
text-decoration : none;
}

I'm getting an error, "Oops, try again. Did you remember to set your a's text-decoration to none?"

The result pane displays the correct result but I couldn't forward to the next exercise.


0 votes

permalink

don't have spaces between text-decoration and the colon (same goes for color)
Did that do the trick? (for me it did when i test run your code).

2410 points
5671826195e378c47d000782_659060817
Submitted by
stetim94
about 3 years ago

10 Comments

D89d84cc580ae7c43beaf33c8acb0fd8?s=140&d=retro DeepikaB about 3 years ago

@stetim94: Thanks :) It works

5671826195e378c47d000782_659060817 stetim94 about 3 years ago

nice. no problem

Picture Pvlgvs about 3 years ago

I'm having this same issue but the suggested solution is not working! HELP!

Picture Pvlgvs about 3 years ago

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

D89d84cc580ae7c43beaf33c8acb0fd8?s=140&d=retro DeepikaB about 3 years ago

a
{
color: #cc0000;
text-decoration: none;
try changing the order... first color and then text-decoration..

Picture Pvlgvs about 3 years ago

Thank you. But it does not work, either :/

5671826195e378c47d000782_659060817 stetim94 about 3 years ago

did you include link to stylesheet? it is possible that it is sending wrong data to server. easiest fix -> try a different browser

Picture Pvlgvs about 3 years ago

Yep, it's linked to stylesheet. Tried a different browser, too. Nothing. Must be a bug, I guess.

7f7fc39565dd29f3cb31730e1f9c3749?s=140&d=retro webguru69yopmail.com almost 3 years ago

how do you get past it ?as its clearly a bug

5671826195e378c47d000782_659060817 stetim94 almost 3 years ago

it works fine. bugs occur very rarely and are usually fixed by switching browser. if you have a problem, please post your code (html + css) and all of it. 4 out of 5 of what i have seen (which is a lot, i replied 1500 post) it is a fault in the code not a bug from codecademy