26. Links and text decoration


#1

In this exercise you're supposed to add a link into HTML and then customise it. I did as the instructions told me to, and I have checked several times whether I have any errors in the code. When I try to submit the code it says "Oops, try again. Did you remember to set your link's text-decoration to none;?" Could someone please tell me what is wrong with my code?

Here's my HTML:

<body><h1>This page</h1>

<p>is my own
</p>
<img src="#" />
<a href="http://google.com">Link text</a>
</body>

And the CSS:
p {
font-size:18px;
color: #4a4943;
font-family:Garamond, serif;
}
h1 {
font-family:Verdana, sans-serif;
color:#576D94;
}
img {
height:100px;
width:300px;
border: 1px solid #4682b4;
}
a {
text-decoration:none;
color:#cc0000;
}


#2

I'm getting the exact same error. It appears to be a bug in the lesson. It's frustrating because I can't move past it and I'd like to keep going.

FWIW, here's my CSS;

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

When I look at the result, it's exactly as it should be, red text with no underline.


#3

iam stuck in this i have tried so many times but it is not working i have done exactly like you have done it


#4

Well, as it turns out, this exercise is not the only one having this kind of problem... I continued the course and faced similar problems: the code seems to be okay and correct but I still get the 'try again' message.


#5

I am also getting the same error and couldn't figure out what was going on. I thought that maybe I coded something incorrectly earlier and it was stopping me due to that. Glad I'm not the only one with this issue.


#6

Considering that this seems to be a recent problem (i.e., today) perhaps something changed recently to break this. What do we need to do to report the problem? There was no "Report a bug" link in the lesson.


#7

So, I just tried it in firefox and it accepted it and let me move forward. Give that a try or if that doesn't work try IE or... Opera or something. Good luck!!


#8

The same happened here. I logged into it on another machine and it worked,so it appears that logging out then back in will get it working again.


#9

can anyone who has pro ask for the live help on this section from the advisers.


#10

I'm having the same issue, and I can't move one without completing this :frowning:


#11

Any updates on the glitch? Still saying I need to fix my text-decoration even though it's perfect


#12

I had the same issue and tried what cheboludo1 suggested going into another browser and it worked for me as well. I tried also logging out and then back in on Chrome and it still doesn't work.


#13

Same problem using Chrome. Same solution: it worked in Safari.

I've reported it to the advisers - no answer yet.


#14

I have the same problem :
Oops, try again. Did you remember to set your link's text-decoration to none;?

But the code it's ok.
It's sad to see that there are bugs from lesson to lesson.
I had the same problem at the last lesson.

Thank you


#15

i am stuck in link and text decoration part every time i am doing it correctly it show the result is wrong


#16

Same error here, too!


#17

same error ,too.. :frowning:


#18

They need to fix this :expressionless:


#19

Logged out, (shut window) reopened codeacademy in a new tab, and lo and behold... my lesson 26 got demoted back to lesson 4... frustrating, but if I get past the glich in links and text decoration, i will be happy.


#20

+1 guys! The same situation! i even tried to find the solution on the internet and also tried many different variants suggested there, but i cant go foward without accepting this lesson. (26) I strongly believe that administration of the project will pay attention on this and well be able to continue!