Learn HTML by Building a Cat Photo App - Step 15

I feel like I am on the right track but don’t know why it isn’t working I’m pretty sure I’ve wrapped the img element with anchors.

did i miss something?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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 herf='https://freecatphotoapp.com'>
    <img src='https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg' alt='A cute orange cat lying on its back.'> </a>

<!-- User Editable Region -->

    </main>
  </body>
</html>

It’s href not herf. It’s a common mistake.

1 Like

thank you… i was stuck for a solid 20 mins thinking i was going mad.

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