Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

I tried to build the photo to a link but it can’t. I also read in the comment enquiries but still no breakthrough

Your code so far

CatPhotoApp

  <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>
<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  src=<a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</a> alt=A cute orange cat lying on its back.>

<!-- User Editable Region -->

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

Your browser information:

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

Hi and welcome to the forums.

You need to wrap the <a></a> elements around the img element.
You currently have the opening tag inside your img element and your closing tag before your alt attribute.
Try resetting the step and see if you can wrap the img element.

1 Like

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