Learn HTML by Building a Cat Photo App - Step 15

i am understanding the step 15, i am learning HTML by building a cat photo app
i have tried my best but not able to do this step (step - 15)
please help!

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 -->

      <img <a href src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"></a>

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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 15

1 Like

Hi there and welcome to our community!

You should not modify the img element in any way.
You should only enclose the whole img element within a pair of anchor tags and then add the specified href attribute to the opening anchor tag.

2 Likes

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