Learn HTML by Building a Cat Photo App - Step 12

Pretty sure my code is okay however it’s not letting me pass

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

<!-- User Editable Region -->

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

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

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

Link to the challenge:

Your code is OK but the text to be nested by the code is wrong. You have created a new cat photos text, but that shouldn’t be the case. You should use the existing one.

1 Like

hello and welcome to fcc forum :slight_smile:

  • replace “cat photos” from “p” element with your newly created “anchor” tag

happy learning :slight_smile:

Welcome to the community. You do have the correct idea on how to anchor the words cat photos.
I suggest resetting the step, and placing the anchors around the two words within the p element.

Example: anchoring big dog in this example.

< p> The children loved the < opening anchor> big dog < /closing anchor> that was playing fetch with them. < /p >

I hope this example helps you!

Happy coding! :slight_smile:

1 Like

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