Nesting a with in p

*I have no idea on how to do this. I started but I’m stuck and don’t know if I’m on the right path.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main
<p>  <a href="https://www.freecatphotoapp.com" target="_blank">View more cat photos,at photos</a>

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/210.0.444145502 Mobile/15E148 Safari/604.1

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

  1. You have not closed your main tag
  2. Only cat photos should be the text in the a element and View More
    should be in the p.
  3. I do not see the closing p tag.

I hope this will help you.

1 Like
  1. You forgot to close the <p> tag
  2. Write View More in the <p> tag
  3. The anchor element’s text should be cat photos not View more cat photos,at photos
  1. You also forgot to keep > after the element main

Others ones are fine. :+1:

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