Learn HTML by Building a Cat Photo App - Step 15

I keep getting this step wrong . When checking my answer all it says is “Sorry, your code does not pass. Try again”. Then when Looking at the hints it says “Your anchor (a) element should link to https://freecatphotoapp.com. You have either omitted the URL or have a typo.” so if anyone can help get a better understanding of what I’m doing wrong that would be greatly appreciated!

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <a herf="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>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

You’ve got some letters mixed up here. The name of the attribute is href.


Thank you so much! I can’t believe I kept overlooking that.

You’re welcome. It’s a common mistake. Sometimes our eyes just play tricks on us.

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