Pseudo-classes selector #18


I have a problem with this exercise concerning the color of the a first-child.
I can't see my mistake.
Thanlk you for your help.

Oups, merci de réessayer. Avez-vous bien affecté à votre premier la couleur #CDBE70?

**index html** 

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	<li><a href="">Design by humans</a></li>
	<li><a href="">Arts et artistes</a></li>
	<li><a href="">Digital art</a></li>


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


you can't have a spacing around the colon, it should be a:first-child, same for the other 2


An other stupid syntax error.
Thanks a lot.


Are you getting another error ?
Please paste in your code.


i guess he meant he made another stupid syntax error, and is resolved now