Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I have written it grammatically correct and at the correct position but still the error is coming pls tell how to fix it

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

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

<!-- 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Pay careful attention to spacing

Add the words See more before the anchor element and in our gallery after the anchor element.

See more has exactly 1 space after it. Your code has 2 spaces after “See more”:

See more  <a

And 1 more space before “cat photos”:

com"> cat

This means there is 3 spaces total:

See more  <a href="https://freecatphotoapp.com"> cat photos </a>in our gallery
        12                                      3

There should be no spaces around “cat photos” and the anchor tags. Kind of like this:

<a href="">text link</a>

Keep spaces around the link:

This is a <a href="url">text link</a> sentence.
1 Like