Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I didn’t understand what to do in here i tried more than one method but it didn’t work please help me

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>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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/127.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hi there and welcome to our community!

You should be seeing this error:

The text inside your anchor element has extra leading or trailing whitespace. The only space in the anchor text should be between the word cat and the word photos .

You have a stray space at the beginning of your anchor element text. Remove it and your code should pass.

2 Likes

MOD EDIT: Solution removed.

Please don’t post solutions on the forum. We are here to offer help and guidance to allow campers to find their own solutions.

1 Like

Hey Buddy Here see waht you have done wrong, like there should not be space whenever we write anything between our anchor tag.

But if we leave space between it , then complier is anable to execute our code.

Hope you Understand.

1 Like