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;
}
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.
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.
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.
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!!
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.
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.
+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!