Learn HTML by Building a Cat Photo App - Step 12

My code is not working
Pls help

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>
        <a href="https://freecatphotoapp.com">Cat Photos</a>
      </h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <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/107.0.0.0 Safari/537.36

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

Link to the challenge:

instead of adding an anchor tag above the paragraph,
you should add it inside this paragraph line so that the final result in the preview pane looks like this:

Click here to view more cat photos.

dear,
u have to nest ur anchor element into ur paragraph element containing text cat photos

I’m having the same trouble. I’m nesting the “a” element into to the “p” but it is still showing that it’s wrong.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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