Build a Cat Photo App - Step 12

Tell us what’s happening:

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

See more cat photos in our gallery.

Sorry, your code does not pass. Don't give up.

You should have the words See more before the anchor element.

as you can see I wrote the exact code but still did not pass why What is the problem

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

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

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

Challenge Information:

Build a Cat Photo App - Step 12

you have two spaces after more, remove one of them

1 Like

I did but I still did not pass the parameter

other question, why do you have the target attribute?

share your updated code please

  <html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>
 <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
 <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>

why do you have the target attribute? adding extra things can always make the tests not work

so i will remove target attribute
now its done thank you