Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I am stuck on Step 12, Learning HTML Building a cat photo app

CatPhotoApp

Cat Photos

Everyone loves cute cats online!

See more cat photos in our gallery

A cute orange cat lying on its back.

Your code so far


<!-- User Editable Region -->

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

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Welcome to the forum @annie.rizvi

Please remove the extra white space after the word more.

Happy coding

I have removed the space and still getting message “Sorry, your code does not pass. Hang in there.”

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

Hello and welcome to the forum community @annie.rizvi !

Good attempt!

Please remove the p element tags? I do not believe they are asked for in this step, yet.

As well, please attempt to keep all of the code on one line, with on a space between more and the opening anchor and a space after the closing anchor tag.

Wishing you good progress on your coding journey. :slightly_smiling_face:

Thank you @GrannyIsA-Dreamer @Teller managed to get it working.

2 Likes

Well a quick note freeCodeCamp tutorial look for an exact match. it will work fine for you locally. But it will show error in the tutorial. So if you find this happening again. try to only do what they will ask you in the step. :sweat_smile: I have a fare share of those errors