This forum is now read-only. Please use our new forums! Go to forums
26/26 text decoration.
So this is my first experience of the “code-rage” I’ve been hearing of haha.. | Got to 26/26 and this message keeps popping up: “Oops, try again. Did you remember to set your link’s text-decoration to none;?”
CSS stylesheet: h1{ font-family: Verdana, sans-serif; color: #576D94; } p{ font-size: 18px; color: #4A4943; font-family:Garamond, serif; } img{ height:100px; width:300px; border: 1px solid #4682b4; } link{ text-decoration:none; color:#cc0000 }
Also, this is the link type in my html index:
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
So what am I doing wrong here?
Answer 56142f05e39efeb17300033f
Answer 5614dbb193767691cf00026a
when you use the word link as css selector, you target this html element:
<link>
however, link is also use describe this html element:
<a></a>
and the exercise want you to target <a></a>
, and the correct css selector for that is a
as cxc67 points out.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency