Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more<a href='https://freecatphotoapp.com'> cat photos</a></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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15

Challenge: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

Hello there,
I followed the instructions but at step 12 but the output is: “The link’s text should be cat photos. You have either omitted the text or have a typo”.
Everything looks correct to me, can’t understand the mistake.
Thanks

you have an extra space on the left of the word cat
there should be a space instead to the right of the word more
and you need to add back the period(dot) that was there but place it on the right of the </a>

Tricky. Problem solved. Thanks for your help!!

1 Like

it is good to understand that when you are asked to make a link or add text to an element, that you should watch the spaces. Don’t add any unasked for spaces. Keep all the punctuation that was there at the start and that should avoid some problems down the road.

1 Like