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

0 points
Submitted by karankumar_
almost 10 years

What is wrong with my code? 1/15 HTML Basics III

<!DOCTYPE html>

Answer 53ad82c980ff331b8d000182

1 vote

Permalink

Please give the complete code snippet.

points
Submitted by Suraj Kohli
almost 10 years

Answer 53b0cdad631fe965c4003a29

1 vote

Permalink

I have the same problem

points
Submitted by Zurmat Sediqi
over 9 years

Answer 53b12db3548c357525004d74

1 vote

Permalink

<!DOCTYPE html>
<html>
    <head>
<h1 style="font-family: Arial">Table Time</title>
    </head>
    <body>
        <h1>Tables Are Mega Sweet</h1>
        
    <a href="http://www.google.com">
        <img src="http://upload.wikimedia.org/wikipedia/commons/b/b5/B%26O_RR_common_stock.jpg"/>
    </a>
        
    </body>
</html>
points
Submitted by karankumar_
over 9 years

1 comments

idk.ashleyyy over 9 years

doesnt work

Answer 53b581a480ff33336f002760

1 vote

Permalink

I have the same issue. The output seems ok in the preview window. However, I am getting an error “Oops, try again. Make sure to put in at least two images: one regular, the other a link.”. Here’s my code. Any suggestions?

<!DOCTYPE html>
<html>
    <head>
        <title>Table Time</title>
    </head>
    <body>
        <h1 style ="font-family:Arial">Tables Are Mega Sweet</h1>
        <img src="http://s3.amazonaws.com/codecademy-blog/assets/da840950.jpg" />
        <p><a href="https://www.google.com/images/srpr/logo11w.png">This is an image</a></p>
    </body>
</html>
points
Submitted by Gaurav Kimothi
over 9 years

1 comments

stetim94 over 9 years

like the error says? you need 2 images. you have one. this one: This is an image would be fine if it was: <a href=”http://ww.google.com>

you needed to nest the image between the tags, not give the a tags a image.

Answer 53b125548c1cccc547004874

0 votes

Permalink

@zurmat (and karan) check here how to post code.

@karan, i already see some flaws in your code. this: <a href="http://www.google.com">This is google>

should be: <a href="http://www.google.com">This is google</a>

and not sure about the </a> tag after your image. if you want that, then there shouln’t be text where now this is google is.

points
Submitted by stetim94
over 9 years

2 comments

karankumar_ over 9 years

Thanks

Zurmat Sediqi over 9 years

Thanks stetim94 your really helpful

Answer 53b12dd980ff3369fb004885

0 votes

Permalink

My error message is: ‘Make sure to put in at least two images: one regular, the other a link.’

points
Submitted by karankumar_
over 9 years

1 comments

stetim94 over 9 years

if that is the error, then add an extra image.

Answer 53b2e9668c1ccc7d380001b4

0 votes

Permalink

i m nt getting image a image symbol is shown not a proper image

points
Submitted by Tahoora Maniar
over 9 years

1 comments

tuktuk47 over 9 years

I think your problem is that you didn’t copy the image URL but the image itself. Try a right click and choose copy image url. That should work.

Answer 53ee6c269c4e9d5e8c0005d5

0 votes

Permalink

<!DOCTYPE html>
<html>
    <head>
<h1 style="font-family:Arial">Table Time</title>
    </head>
    <body>
        <h1>Tables Are Mega Sweet</h1>
        <a href="http://www.google.com">This is Google>
        <img src="http://upload.wikimedia.org/wikipedia/commons/b/b5/B%26O_RR_common_stock.jpg"/>This is an image>
    </a>
        </body>
</html>
points
Submitted by karankumar_
over 9 years

1 comments

stetim94 over 9 years

your code is missing a image, the link is a bit odd. after image there shouldn’t be text.