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 trialNaveen Swami
UX Design Techdegree Student 1,098 PointsHow do i use text-underline to remove the underlines? I'm looking through the videos and I'm not sure how this works.
I am stuck on a code challenge for CSS.
2 Answers
Erik McClintock
45,783 PointsNaveen,
The property that you're looking for is actually 'text-decoration', and it has a value of 'underline'. In the first task of this challenge, they want you to remove the underlines from all the links on the page, so you would want to write the following:
/* general selector for all the anchor tags on the page */
a {
/* set the text-decoration property to have a value of none in order to remove the underline */
text-decoration: none;
}
I hope this helps to clear things up a bit!
Erik
Naveen Swami
UX Design Techdegree Student 1,098 PointsIt helped and I finished the challenge. Thanks!
Erik McClintock
45,783 PointsGreat! Glad to hear it :)
Happy coding!
Erik