Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I don’t understand what is wrong with my code. I just started coding, so I am not familiar with any problems. If someone could help me that would be very much appreciated. Thank you in advance!
It says the problem is:" The link’s text should be cat photos . You have either omitted the text or have a typo."

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 OPR/94.0.0.0

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

Link to the challenge:

Actually you did a good job but the only problem is the spacing.

The anchor element currently has too many spaces.
Remove the space on the left of the word cat
and remove the space on the right of the word photos

then add a space to the left of the word in

this will fix your spacing so that the anchor tag is fitted exactly around the words we want to link.

Thank you very much! That solved the issue! And thank you for the fast reply & solution! :slight_smile:

1 Like