Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
So im trying to add an anchor element and i am getting the error " Your anchor (a) element should link to https://freecatphotoapp.com You have either omitted the URL or have a typo.
Im not sure whats triggering this error ive even tried just copy pasting the URL rather than typing it and still keep getting the same error
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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> 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 -->

    </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/116.0.0.0 Safari/537.36 Edg/116.0.1938.62

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

Link to the challenge:

Hello and welcome to FCC Forum, a community of people helping each other!
Remove the > behind the a and see if that will work for you. You have closed the opening anchor right after the a and again where the closing should be.

Happy coding! :slight_smile:

OMG thank you i don’t know how i managed to do that lol and not see it, i feel so foolish

1 Like

Happens to us all sometimes.

You are doing amazing!

Keep up the great progress!

Happy coding! :slight_smile:

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