18. need help

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	<a href="google.com">google
	</a>
	<a href="ebay.com">ebay
	</a>
	<a href="codeacademy.com">codeacademy
	</a>
		
	</body>
</html>
a:hover {
    text-decoration:none;
}
body:nth-child(3) {
    color:#CDBE70;
}
a:hover {
    color:#FFC125;
}

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<do not remove the three backticks above>

Please paste in your code using this format

a:hover {
text-decoration:none;
}
a:nth-child(3) {
color:#CDBE70;
}
a:hover {
color:#FFC125;
}

its not letting me post my html page

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	<a href="Google.cm">google
	</a>
	<a href="Ebay.co">ebay
	</a>
	<a href="Codeacademy.co">codeacademy
	</a>
		
	</body>
</html>

and they are all .com so that’s not the problem

You need a space between a and :
a :nth-child(3)

If you are still receiving an error let me know what it is

did you remember to set your first to the color #CDBE70 is the error

No (3) is the third, so you will have to change 3 to the correct no…
I think you can work this out :slight_smile:

yup I switched them! thank you!

You’re welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion

Did you get it to work?