Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.
The error reads that my anchor element should be linked to https://freecatphotoapp.com. I have my closing tags for the anchor and the href value without typo. I do not understand where to go from here.
Your code so far

      <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>

<!-- User Editable Region -->

  <a> 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>

<!-- 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:

Welcome to our community!

You should add href= "https://"freecatphotoapp.com" to the opening ‘a’ tag:

<a href="URL"><img src="URL"></a>

You have added it after the opening ‘a’ tag: <a> href=....

1 Like

Got it thanks, yea it was that >. I understand now with the anchor if I close it with > it won’t work.

1 Like

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