Lesson 15 links


#1

after i visit a link the color of the link does not change


#2

That is weird, could you copy and paste your html and css code to the forum so i can have a closer look?


#3


#4

I said copy and paste, not a image


#5

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title></title>
	</head>
	<body>
		<div>
		<ol>
		<li><a href=https://www.youtube.com>stuff</a></li>
		<li>	<a href=https://www.wikipedia.org> other stuff</a></li>
      <li> <a href=http://www.siteinspire.com> same ol stuff</a>	</li>
    </ol>
       </div>
	</body>
</html>

#6

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


#7

your links are missing some quotation marks (") around your url:

<a href="#">

#8

i added "" and still not changing colors. When i hit save and submit i says i have done it correctly


#9

Can you also copy your css code to the forum?


#10

CSS

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


#11

spelling error in visited


#12

ha. That was it THANKS.


#13

It's also worth noting that the CSS, if written in the order requested (a:link, a:hover, a:visited) won't make the visited links change color when hovered over. To achieve this, code the a:hover CSS last.

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