Learn HTML by Building a Cat Photo App - Step 15

I’m confused to where I went wrong step 15 .

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

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

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

You have nested the img element in a paragraph element.

But they didn’t ask for this.

They wanted you to make the img become clickable by nesting it in an anchor element instead (similar to how you handled step 12 when you were making a link there)

1 Like

hey, am stack need your help? How do I make the picture clickable?

Me too. :frowning: don’t know what to do…

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