It doesn't work in the result tab


#1

In 15.Links,
I passed, but I'm confused about in the result tab can't really tell the selectors are working correctly.
It all remains the color #ee9a00 (as the visited),and doesn't show #00ff00 as I hover over.

can anyone tell me why...:sweat:

(ps.sorry for the weird english grammar)

html:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title></title>
	</head>
	<body>
		<div>
			<a href="https://www.youtube.com/watch?v=g_uoH6hJilc">years&years</a>
			<a href="https://www.youtube.com/watch?v=TbkWgSy_a5g">clean bandit</a>
			<a href="https://www.google.com.tw/webhp?hl=zh-TW&ictx=2&sa=X&ved=0ahUKEwiNt7nJpbjOAhUJv5QKHdw0BMEQPQgD">stephen</a>
		</div>
	</body>
</html>


css:

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

#2

As you already saw those links so it'll remain same color.Either change the links or change the browser and you can delete cached file too :slight_smile:


#3

Thank you so much!
It seemed to be a silly question.:sweat_smile:


#4

yea, rcodeman is right, :visited relies on your browser history, not if you clicked this specific link on a specific page


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.