Cat Photo App - problem w/ step 12

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

Help me, please,

I’m stuck on step 12, I should create a link for the

element which should read “See more cat photos in our gallery.” but when I do it correctly it shows me the error:

" The link’s text should be cat photos . You have either omitted the text or have a typo."

That is weird, but when I change the text to mentioned “can photos” it gives me error:

“After nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.”

So what do I do? Seems like a bug but maybe I’m just blind…

Your code so far

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

<!-- User Editable Region -->

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

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

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

Link to the challenge:

The a element turns the content that it surrounds into a link. So if the element surrounds <a ...> these words</a> , then * these words* become a clickable link (including the empty space!) The instructions from that step asks you to turn the words ‘cat photos’ into a link, not the entire sentence.

Ahh, I see! Thank you, so I was just blind… Seemed awkward that there would be suc h a bug , hah.

Thank you for your help!(:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.