Still Stucking in 21/26


#1

I don't know why I can't pass this exercise:
https://www.codecademy.com/courses/web-beginner-en-TlhFi/3/3?curriculum_id=50579fb998b470000202dc8b

In the CSS tab, Written down that:

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

In the HTML tab. Written down that:








The below link goes to Google!


Google

I just cannot pass through it. It shows error:
Oops, try again.
Whoops! It looks like your 'a' selector doesn't have the color #cc0000.

Anyone plz help me, I have to finish my whole exercise!!!


#2

Did you link your html document with the css document?

It's something like this


#3

@benchakwaiho,
First of all your HTML-code is NOT visible....
you will have to select the code in your editor and then =click= on the </>-button.....

Please add this < script > to your HTML-code
after your < /body > tag
and before your < /html >-tag
so that it would look like

	</body>
	<script>
	var deco = $('a').css('text-decoration');
	$('<li>').text('My text-decoration is: '+deco).appendTo('body');
	</script>
</html>

What do you see at the Bottom....


#4

here is my css code
a{
color:#cc0000;
text-decoration:none:
}
my sugestion is you need to check back the link between html and css.


#5

I linked it just like below inside the head tags: p.s. replace ( to < and ) to >
(link type="text/css" rel="stylesheet" href="stylesheet.css"/)
(title)Result(/title)


#6

dont use () but you need to use </>


#7
<!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>

#8


#9

From your link-Tag, remove the /-character at the End

 <link type="text/css" rel="stylesheet" href="stylesheet.css">

= https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link


#10

Still not working