Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Need help with 'Remove the text decoration from the link'

The code I'm using is:

    a:hover {
      text-decoration: none;
    }

says: check the text decoration declaration in your css.

I rewatched the video and this seems like the code that removes the underline and sets it to none.

Is there some bugs on some of these challenges? I seem to sometimes not get the right answer, I go back watch video, then i put in exact same answer to challenge and the next time it works.

thanks in advance

Rajinder Sihota - Please edit your original post with a link to the code challenge you are having issues with.

There are hundreds of code challenges on the site so it's hard to find the one you are talking about without a link to the specific one you are having an issue with.

1 Answer

You don't need the hover pseudo class when removing text decorations from links, if I remember correctly that code challenge is not asking you to remove the decoration on hover it is asking you to remove the decoration all of the time.

Hope that helps!