Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <a> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" href="https://freecatphotoapp.com" target="_blank" href="https://freecatphotoapp.com" alt="A cute orange cat lying on its back."</a>
    </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/105.0.0.0 Safari/537.36

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

Link to the challenge:

Pretty stuck on this right now, I keep moving where the anchor element is but i cannot get it right. I have looked at other websites and resources and i feel like i am doing it the way i am being told but it is not right :confused:

  1. change nothing about the img element

  2. put a full opening anchor tag before the img element

  3. put a full closing anchor tag after the unchanged img element

1 Like

Thank you very much!

1 Like

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