CSS Selectors: Pseudo Selectors Lesson 18. Show it if you know it!


#1

Could you please advise as to why I am receiving an error on the lesson "CSS Selectors: Pseudo Selectors Lesson 18. Show it if you know it!"

Error Message reads: "Did you remember to set your first <a> to color #CDBE70?"

index.html is as follows:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	    <a href="https://www.google.com/">Link 1</a>
		<a href="https://www.google.com/">Link 2</a>
		<a href="https://www.google.com/">Link 3</a>
		
	</body>
</html>

stylesheet.css is as follows:

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

#2

there shouldn't be a colon after first-child and nth-child(3), i don't know why you put those there, either way, they don't belong there


#3

Thank you, that did the trick!
Silly typo on my part.