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

confused in code challenge

how to remove underlined links in css because in code challenge its just a blank screen help please

2 Answers

They want you to remove the underlines from all of the links on the website.

Here's two hints: 1) You can address all the links on the webpage by using the "a" selector in the stylesheet. 2) You can style the links with "text-decoration".

Kevin Kenger
Kevin Kenger
32,834 Points

Hey Johnathan,

The way to remove underlined links is to select the anchor attribute (links) and remove any decoration they have, like an underline.

a {
    text-decoration: none;
}

thank you i got it