Still stuck in no.21


#1

What's wrong with the codes below?
index.html:
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css">
<title>Result</title>
</head>
<body>
<p>The below link goes to Google!</p>
<a href="http://www.google.com/">Google</a>
</body>
</html>

stylesheet.css:
/*Add your CSS below!*/
a {
color: #cc0000;
text-decoration: none;
}

After submitting code, it shows up:
Oops, try again.
Whoops! It looks like your 'a' selector doesn't have the color #cc0000.

Due to this problem, I have not had html and css lessons for a lot time.
Please help me!!!! And sorry for bad English grammar......


#2

Code is fine, maybe you hit a glitch. Try a different browser


#4

Turns out I was having issues with correct spacing. I entered the following and was able to submit:

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

}

Remove some spacing and see if it helps :slightly_smiling: