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

this is not working when i clicked preview there's still underline on my anchor tag a { text-decoration: none; }

i included <link rel="stylesheet" href="css/main.css"> on my index.html

Are you targeting the pseudo class for the anchor tag? a:visited I think it is.

EDIT: If you are wanting to target just the link style of the anchor, you may want to target the :link pseudo class. https://developer.mozilla.org/en-US/docs/Web/CSS/:link

4 Answers

hello Lester,

You may wanna check your head (html). You made a typo in the link rel.

Hint : it's not a "stysheet" ! :)

hi Julien thanks a lot! :D

Hello Lester do you mind sharing a snapshot of your workspace where you have the problem? thanks.

hi kailashseshadri thanks for helping how do i post the snapshot here how can i share it to you?

In the top right of your workspace, there is a small camera icon next to the preview button. Click the icon and click 'Take Snapshot' then open the snapshot and share the web address.

thanks

https://w.trhou.se/y4on5qq0uw thats the web address of index.html https://w.trhou.se/y4on5qq0uw this is my main css is this wat u mean?