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 How to Make a Website CSS: Cascading Style Sheets Style the Basic Elements

Thomas O
Thomas O
13,120 Points

removing underlines from all links in the page

Does anybody know what could be wrong with the following code?:

aΒ { text-decoration: none;
}

With this code I want to remove all the underlines from links on my webpage ... but it isn't accepted.

4 Answers

Stone Preston
Stone Preston
42,016 Points

hmm I tried your code and it worked. try it again. Im using google chrome so maybe try using that if you arent already

 a {
  text-decoration: none;
}

nothing wrong with that code at all. in fact, i copied and pasted that exactly and got the correct answer. maybe check to make sure nothing else is in the text editor that could be going through when you hit check answer.

Thomas O
Thomas O
13,120 Points

Thank you for the answers ... just tried the same code again after a pause and it worked ... God knows why.