Nest an Anchor Element within a Paragraph-Help

Tell us what’s happening:

I am having difficulty with this coding challenge.
I am not sure how to complete the objective “Your a element should be nested within your new p element.”

I passed the other objectives for the coding challenge:
You need an a element that links to “”.
Your a element should have the anchor text of “cat photos”
Create a new p element around your a element. There should be at least 3 total p tags in your HTML code.
Your p element should have the text "View more " (with a space after it).
Your a element should not have the text “View more”.
Make sure each of your p elements has a closing tag.
Make sure each of your a elements has a closing tag.

Your code so far

  <p>View more  </p>
  <a href="" target="_blank">cat photos</a>
  <img src="" 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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

1 Like

Put your closing p tag after closing a tag.

1 Like

There are currently 2 p elements on your code. You need to create a third one and nest the a element inside of the new paragraph element.

1 Like

how to nest an anchor elementcat photos