Link 'em up! HELP

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/web-beginner-en-zrZ6c/0/6?curriculum_id=50579fb998b470000202dc8b#
I cannot finish this exercise.

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
It tells me to wrap the “img” tag in “a” tag, so that when I click on an image, it should take me to another
website. That’s what I did. I have checked for any misspelled urls, but it seems that it’s not problem in that. I have closed all tags and checked that I have put every tag the exercise wants me to write. The error says: “Oops, try again. Make sure you wrap each tag in tags!”. What’s the problem in my code?

``` My Photo Page
<do not remove the three backticks above>
Just a radnom table

Remove all ‘td’ tags, it’s enough to wrap images with ‘a’ tags.

to wrap each <img> tag in <a></a> tags your code should look like
<a href="url"><img src="url"/></a>
1 Like

It’s working, thank you!

@elv1nas, i disagree with your answer. The table is part of the lesson, the <a></a> tags should have been inside the table cells:

<td>
  <a href="url"><img src="url"></a>
</td>

you shouldn’t remove the td tags, just a bit of change to the nesting

1 Like