Learn HTML by Building a Cat Photo App - Step 12

The error: The link’s text should be cat photos. You have either omitted the text or have a typo.
Isn’t the code below correct? cat photos is a link and everything else is in ‘p’ assignment. What am I doing wrong?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com"> cat photos </a> in our gallery</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- User Editable Region -->

      <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 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0

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

Link to the challenge:

check the spaces after and before cat photos, the test search for

<a>cat photos</a>

you have

<a>space_cat photos _space</a>

Finally! Thank you so much. I would never in a million years think it’s space issue.

tests are useful for dev and learning purposes but sometimes this little issues are annoying

1 Like

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