Learn HTML by Building a Cat Photo App - Step 14

can you tell me the error in this code

  **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 cat photos</p>
   <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>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0

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

Link to the challenge:

You removed the link from the p element. You don’t want to do that. You don’t want to make any changes that the instructions don’t ask you to make. Only do exactly what the instructions ask.

I would restart the step to get the original HTML back. You do not want to change any of the existing HTML. The only thing you want to do is make the <img> a link.

yeah thanks . I was stuck there for some time.

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