Stuck on Lesson 26 "CSS: An Overview"

It asked me to set the link’s text-decoration to none, and to set the color to #cc0000. I typed:

a {
text-decoration: none;
color: #cc0000;
}

but it keeps saying “Oops, try again. Did you remember to set your link’s text-decoration to none;?” What am I doing wrong??

the same for me
I want to burn my computer :stuck_out_tongue: I can’t understand where I could typed a mistake

What Browser do you use? I use chrome and it works.

please post your full html and css code so we can help you, you might have forgotten to close a css selector

1 Like

This is my full html code:

<!DOCTYPE html>
<html>
	<head>
	<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	    <h1>Learning CSS</h1>
	    <p>Crash Course is saving my life.</p>
	    <a href="https://www.youtube.com/playlist?list=PL8dPuuaLjXtMwmepBjTSG593eG7ObzO7s">Crash Course US History</a>
	    <img src="http://cdn8.openculture.com/wp-content/uploads/2015/04/29224423/crash-course-us-history.jpg"/>
	</body>
</html>

And this is my full css code:

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

a {
text-decoration: none;
color: #cc0000;
}

you need to use markup for html code to show:

anyway, your img css selector is missing its closing curly bracket (})

1 Like

that should probably fix the error

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.