Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Hello, this step is not letting me pass and is telling me to add an opening tag to my anchor element when it clearly has one. I do not understand which part I am wrong. Please help me out. I’m a beginner at all of this and am trying to teach myself. Thank you!!

  **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.">
  </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/104.0.0.0 Safari/537.36

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

Link to the challenge:

Hey!

This hint is not about the a tag you already have in your code, its about the a tag you’re supposed to add to this to turn your image into a clickable link.

1 Like

Hey there staranbeer! Thank you so much for replying. Uhm, regarding that, if I try adding another anchor element it tells me that I have extra opening anchor element tags and I should remove them.


This is what I currently have, and I will show you what it will say if I try adding another anchor element.

OHHHH!! NEVERMIND, I followed what you just said and added another anchor and it worked?? I’m so stupid. Thank you, staranbeer!!! :))

1 Like

Hahahah! don’t worry about it!
Let us know if you need help with anything else. :smile:

1 Like


Just reached Step 48, will definitely ask if I need more help. It’s really fun and satisfying to solve difficult problems!! Thanks again, staranbeer! :grin:

1 Like

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