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

CSS: An Overview Forum

View Course » View Exercise

558 points
90af1216ca81815a6d2fd2ad049d317e?s=140&d=retro
Submitted by
Jibril
about 2 years ago

OMFG!! My why wont this run?!?!?!

Okay so I am on the last exercise and I keep trying to go to the next section. It keeps sending me this annoying message. " Oops, try again. Did you remember to put some link text between your tags? You can't leave them empty! "

Okay so here is my HTML code:

<!DOCTYPE html>
    <html>
        <head>
         <link type= "text/css" rel= "stylesheet" href= "stylesheet.css">
        <title>Result</title>
        </head>

            <body>
             <h1>Anything I want!</h1>

                 <p>Anything I want can go in this paragraph. That's exactly what I'll do!! I am going to add whatever I feel like, or what ever comes to mind in this tag/paragraph. I can even add an image if I wanted too!! Look below....</p>

                     <a href= "www.amazon.com">Go to Amazon.com m8?</a><img src= "http://vignette4.wikia.nocookie.net/mrmen/images/5/52/Small.gif/revision/latest?cb=20100731114437">

                     <p>Horray!! It worked.</p>
            </body>
        </html>

Here is my CSS code:

h1 {
    font-family: Verdana, sans-serif;   
    color: #576D94;
    }

p {
font-family: Garamond, serif;
font-size: 18px;
color: #4A4943;
}

img {
 border: 1px solid #4682b4;
height: 100px;
width: 300px;
}

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

Can someone please help me? It's driving me crazy.


0 votes

permalink

Try resetting your zoom in your browser. What seems to work for me (I am on OS X 10.10.5 with an Opera browser) is that I zoom in a few times until I get to about 150% or 200% then reset it back to 100%

Solves the issue every time (at least for me).

One question though...did you want your image to be linkable in this "Go to Amazon" link?

723 points
560d44f3b62548d7a5000294_993206674
Submitted by
Allan Reed
about 2 years ago