Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I dont understand this step. I tried but i am stuck

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a>cat photos </a> in our gallery.
      <a href="https://freecatphotoapp.com"> </a>
      </p>
      

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Welcome to the forum @keerthna

Here is an article explaining how to link text and images inside nested elements you may find helpful.

Make sure you reset the step to clear your old code.

Happy coding

First, don’t move or delete anything that is already there. You moved the closing p tag and you deleted the words “link to cat pictures” from the link that was already there. You might want to reset the step to get everything back.

You did add the new anchor element in the correct spot, but you forget to tell it where to go when you click on it. That’s what the href attribute is for.