Learn HTML by Building a Cat Photo App - Step 14

it says that i have to turn image into a link surrounding it with necessary tags and use https://freecatphotoapp.com as an href attribute and i don’t know how

  **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>
    <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>
  </main>
</body>
</html>

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

Link to the challenge:

Hi @Wajahatm990 , welcome to this forum!

1 Like