Stuck in image and link question


#1

https://www.codecademy.com/courses/web-beginner-en-HZA3b/2/5?curriculum_id=50579fb998b470000202dc8b

Not sure whats wrong with my code below.Error showing Oops, try again. Make sure you have 3 elements. One should be a just a link, one should be just a picture and one should be a picture with a link!






<a href="https://images.google.com"><img src="http://www.freedigitalphotos.net/images/img/homepage/87357.jpg" /></a>

<img src="http://www.gettyimages.pt/gi-resources/images/Homepage/Hero/PT/PT_hero_42_153645159.jpg" />


</body>


#2

You have the link with picture, you have the picture but you are missing just a plain link

So you need to add a link


#3

There has to be three elements...You have all the required except the link...create one


#4

Sincere apologies. I am a New Bee. i still didnot understand on where to add the link. thank you


#5

Did you manage it ?

<!-- link with image -->
<a href="https://images.google.com">
<img src="http://www.freedigitalphotos.net/images/img/homepage/87357.jpg" /></a>

<!-- plain image -->
<img src="http://www.gettyimages.pt/gi-resources/images/Homepage/Hero/PT/PT_hero_42_153645159.jpg" />

You have an image and you have a link with an image, now you need just a link

<a href="https://www.codecademy.com">Codecademy</a>

so:

<!-- hyperlink with image -->
<a href="https://images.google.com">
<img src="http://www.freedigitalphotos.net/images/img/homepage/87357.jpg" /></a>

<!-- plain image -->
<img src="http://www.gettyimages.pt/gi-resources/images/Homepage/Hero/PT/PT_hero_42_153645159.jpg" />

<!-- hyperlink with text -->
<a href="https://www.codecademy.com">Codecademy</a>

#6

Worked :smile: much appreciated


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.