Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

The step asks me to surround the image with an anchor and make it into a link. It keeps telling me that I’m missing a closing (a) tag after the image. Oddly enough it works in the preview, but it keeps asking for the closing (a) tag.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

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

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

you don’t have a closing </a> tag after the image

it works in the preview because browsers are really good at fixing broken html, that doesn’t mean that the html you have written is 100% correct

Ok. Thank you! This one was really giving me some trouble for some reason.