My a:link doesn't work. it says that i have no color in it but i do


#1

a:visited {
color:#ee9a00
}

a:hover {
color:#00ff00;
}

a:links {
color:#008B45;
text-decoration:none;
}


#2

The problem is in that bit of code. Can you spot it now?


#3

no i see the exact same thing


#4

i found it it was the s in link


#6

I have a problem with "Links" lesson.
My link, hover and visited codes don't seem to work, they don't change color when I click or hover.
I however pass and move to the next lesson, any idea why this is happening?

Here's my code

a:link{
text-decoration:none;
color:#008b45;
}
a:hover{
color:#00ff00;
}
a:visited{
color:#ee9a00;
}


#7

seem to be working fine? You should swap a:visited and a:hover, otherwise hover will indeed not work. a:visited uses your browser history, so, in my example i used some non existing site to show it works


#8

@stetim94
Thanks a bunch, it worked when I used a sight that I hadn't visited.