This forum is now read-only. Please use our new forums! Go to forums
banner
Close banner
Why won't my links work? Can't visit the linked site to test the CSS code.
I’ve typed up my HTML and CSS code and received the response that it’s correct. However, the only change that occurs to my links is that the text turns green when I hover over them. The links won’t work to go to the external website for me to test if the change works for the visited link. Also, I don’t see any change to the unvisited link’s color after I typed in my CSS code. Why won’t my links work and is coding correct?
See codes below:
<p><a href:"http://www.cnn.com">Visit me</a></p>
<p><a href:"http://www.cnn.com">Leave me alone</a></p>
<p><a href:"http://www.cnn.com">
Hover hover!</a></p>
a:link{ text-decoration:none; color:#008b45; }
a:visited{ color:#ee9a00; }
a:hover{ color:#00ff00; }
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency