Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

i was told to anchor cute cats i already did but it refuses to move forward sayin that my code does not pass and currently my code has been anchored below is my code;

CatPhotoApp

Cat Photos

Everyone loves cute cats online!

See more cat photos</

Your code so far

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

<!-- User Editable Region -->

      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"> cute cats </a>      online! </p>

<!-- User Editable Region -->

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

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 Edg/131.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

Hi there and welcome to our community!

You have some unnecessary spaces inside your p element and also inside your anchor (a) element. The anchor tags should wrap tightly around the words ‘cute cats’, and you’ll need to remove all the extra spaces before and after the word ‘online’.

1 Like

Hey Buddy, Here Kindly do remove the extra space between your cute cats and closing anchor tag </a>

2nd thing do remove extra space between online! and closing p tag </p>

Hope You will definitely Change your code !!!

Happy Coding.