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 trialSimon Parker
Courses Plus Student 4,160 PointsCSS Foundations: Text Properties Code Challenge. Workspace error or me?
Hello,
I am on step 4 of 4 of the code challenge for Text Properties in the CSS Foundations course. I have been asked this:
Q: Remove the text decoration from the link
I have typed this:
a:hover {
text-decoration: none;
}
I am told that this is incorrect and to check my text decoration declaration. However I cannot see where I have gone wrong and when I preview the code the underline vanishes when I hover over the text. This also matches what is in the video
Is it me or a workspace error? Thanks
3 Answers
Rich Bagley
25,869 PointsHi Simon,
You look to be doing this on the hover state. You'll need to remove the :hover
to apply it to the link in general.
Hope that helps.
-Rich
EDIT: Looks like Gábor beat me to that one :)
Gábor Balogh
7,503 PointsHi!
Check it without the hover pseudo.
Simon Parker
Courses Plus Student 4,160 PointsYes ok thanks. I see my mistake. Off to put my glasses back on lol!
Cosmin Cioaclă
21,339 PointsCosmin Cioaclă
21,339 PointsYou are asked to "Remove the text decoration from the link", not to remove the text decoration from the hover state of the link.