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>See more cat photos in our gallery.</p>
      <p>cat<a href="https://freecatphotoapp.com">link to cat pictures</a>photos.</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 mobile information:

22120RN86I - Android 13 - Android SDK 33

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

Link to the challenge:

What is the mistake :sneezing_face:

badly nested <p, I would say close well <main

You’ve changed things that you shouldn’t have change. Such as you wrapped the link below the p element in another p element. I would reset the step to get the original HTML back.

The only thing you want to do is turn the words “cat photos” in the middle of the existing p element into a link. You do this the same way you turned the words “link to cat photos” into a link, by wrapping them in a tags. So the only thing you want to do in this step is add one opening a tag and one closing a tag. And of course the opening a tag should have an href attribute.

1 Like

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