Learn HTML by Building a Cat Photo App - Step 14

qhat should i do next ? Hints : Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .

  **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"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>.</p>
    
  </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/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63

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

Link to the challenge:

Hey! It looks like instead of adding a new a tag and adding your image inside of it, you replaced the existing a tag and put your image inside of it which is not correct.

You need to have the text “Click here to view cat photos” where cat photos is a clickable link and an image after it which is also a link.
Hope this helps! :smile:

1 Like