This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

326 points
613cf1d58d635a09d33c69b4c86fb907?s=140&d=retro
Submitted by
Zoya47
about 3 years ago

26/26 link text

My link text is showing up on the demo screen but the error says "Oops, try again. Did you remember to put some link text between your tags? You can't leave them empty!"

Is there a problem in the html code?

<!DOCTYPE html>
<html>
    <head>
        <title>Result</title>
        <link type="text/css"; rel="stylesheet"; href="stylesheet.css"/>
    </head>
    <body>
        <h1>Anything!!! </h1>
        <p> sooo </p>
        <img src="http://www.countrygardenroses.co.uk/Country%20Garden%20Roses/name_your_own_pink_rose_full.jpg"/>
        <p> <a href="www.poop.com">yep.</a> </p>
    </body>
</html>

0 votes

permalink

I am having the same issue.

5 minutes later edit: I changed my code from:

       <a href="http://www.formula1.com">This goes to formula 1.<a/>

to:

           <a href="http://www.formula1.com">This goes to formula 1.</a>

and it passed 26/26. Although I do not see what is wrong with your code Zoya47.

Try putting the link text before the image.

233 points
D17c538c7f69d27f73e798e9ec0198ed?s=140&d=retro
Submitted by
dagoberto vargas
about 3 years ago