This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Jibril
over 8 years

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.

Answer 55f8197251b8877aca0001f2

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?

points
Submitted by Allan Reed
over 8 years