Nest an Anchor Element within a Paragraph

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
  <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
  
  <img src="https://bit.ly/fcc-relaxing-cat" 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>
<p>View more <a target="-blank"href="https://freecatphotoapp.com">cat photos</a></p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph

1 Like

Hello,

Hopefully you’ve solved the challenge.

If not, the hint is the a tag is already provided and the only thing you need to do is nest (or surround) that a tag with a p tag.

You don’t need to create a new a tag.

1 Like

you have to nest the anchor tag in p tag like that

<p> view more  <a href="http://freecatphotoapp.com" target="_blank">cat photos</a></p>