CSS: An Overview Lesson 26 - Error (Link Text Decoration)


#1

Hi There!

I’ve encountered this message.
“Oops, try again. Did you remember to set your link’s text-decoration to none;?”

I tried doing alternatives to this but I get the same error. Help on this please

Thank you


#2

please this topic:

Quick Tips for Writing Good Posts

what information to provide (code and exercise url)


#3

Hello

I appreciate your immediate response. Yes, I did read other existing post with regards to my concern but was not satisfied with the answer and it did not help me at all. I’m not sure if it’s about the compatibility of computer/laptop or software that was installed on mine.

I’m currently working on the last activity - Lesson 26 Links and Text Decoration (Review). The instructions were as follows:

  1. Add a link to your HTML page using Link text tags (check the Hint if you need a
    reminder). You can link to any webpage.
  2. On the CSS tab, change your link’s text-decoration to none and its color to #cc0000.

Everything was properly encoded. Checking the previous lessons to make sure the codes are accurate. I did adjust the zoom of my screen (+ or -) but it didn’t work as well. I also tried refreshing the page and re-encoding but end up having the same results.

Error Message: Oops, try again. Did you remember to set your link’s text-decoration to none;?

Thanks


#4

i don’t care about the instructions, i want to see what you coded, and the exercise url so i can access the exercise and debug within the exercise.


#5

HTML

<!DOCTYPE html>
<html>
	<head>
	    <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	    <a href="https://ph.yahoo.com/?p=us"> Yahoo </a>
	    <h1>I can almost see it</h1>
	    <p>That dream I'm dreaming</p>
	    </body>
</html>

CSS

a{
    color: #cc0000;
    text-decoration:none;
}

#6

https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/4/5?curriculum_id=50579fb998b470000202dc8b

Let me know…If you were able to view my codes


#7

Try text-decoration: none; (notice space after colon), the exercise validation is precise.


#8

that is the old course, its longer supported. I highly recommend upgrading to the supported courses:

https://www.codecademy.com/learn/learn-html
https://www.codecademy.com/learn/learn-css


#9

I did. Space or without space. It doesn’t work


#10

Thanks for recommending me this


#11

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