Nest an Anchor Element within a Paragraph*

Tell us what’s happening:
Describe your issue in detail here.
I’m not able to solve this step " Nest an Anchor Element within a Paragraph"

  **Your code so far**


<a href="" target="_blank">View more 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>
<p>Here's a <a target=_blank" href="cat photos"> cat photos</a> for you to follow.</p>
<p> View more cat photos for you to follow</p>
<a href="cat photos" target="View more cat photos"> cat photos</a>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Firstly reset the lesson and start fresh as you have added a second a tag.
Look closely at the first example on the top left of your page, that is basically what they want you to do. See how they have nested the a tags inside the p tags. You need to do that with the a tag which is already on screen for you, do not create a new one.
Then you need to add the relevant text from the question.
You can see that “cat photos” has already been added for you, that is the link text so it is inbetween the 2 a tags. You just need to add the other bit of text which points to the link.
Follow the first example. See how some text is before the a tag, some is inbetween and some is after. No text goes inside the tag itself

Thank you for you kind help. I will reset and try over.

1 Like

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