Stuck with step 14

I can’t find the mistake, I’m trying to link the picture. It would be nice if you could find the mistake and describe what’s wrong with it.

Here’s the code:

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
      <img src="" alt="A cute orange cat lying on its back."<a href=""></a>>

You should first specify the link, followed by the image you want the link to contain. You did it the other way around.

More information on W3 Schools:
HTML Images (The section ‘Image as a link’ will be helpful!)

1 Like

I think a tag should be outside of img tag. try this.
I mean put the <img> tag inside the <a> tag

1 Like

Thank you, it works!

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