Responsive Web Design - step 14

Hello! I’m really stuck on this one and need some help… I’ve been trying to figure it out for a while and just have no idea what to do. Thank you!

Step 14

Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor’s href attribute value.

My code for this section:

 <a  href="https://freecatphotoapp.com"> </a>
      <img  src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" lt="A cute orange cat lying on its back.">

Error message:

Test

Sorry, your code does not pass. Don’t give up.

Hint

Your img element should be nested within the anchor (a) element. The entire img element should be inside the opening and closing tags of the anchor (a) element.

< a < img > < / a > Anchor tag must enclose the image

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