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

im very stuck on this question how to remove underlines from text

it says to check my value so i put

nav {

text-decoration: none; }

css/main.css
a {
  text-decoration: underlined;
}

3 Answers

Emma Willmann
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Emma Willmann
Treehouse Project Reviewer

The first task wants you to remove underlines from all links. the nav element has nothing to do with this, just the a element. so:

a {
  text-decoration: none;
}
Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hello Chey,

You're almost there.

To remove underlines from a link, to you need the none; property.

You'd use underline; to add an underline to an elements text.

a{
    text-decoration: none;
}

thanks guys much appreciated t:)