Need help. nesting an anchor element in a paragraph

i barley started learning basic html and html5 and i am running in to this issue on the website that im on tried to follow though carefully and even with that didn’t seem to be right so i wold like to know where am i going wrong? its nesting an anchor element within a paragraph.


<h2>CatPhotoApp</h2>
<main>

<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>

<img src="https://www.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>
<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>View more <a href="https://www.freecatphotoapp.com">cat photos</a>.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13982.88.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.162 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

HI @pm3887660 !

Welcome to the forum!

I would reset the lesson.

Here are the first part of the instructions:

Nest the existing a element within a new p element. Do not create a new anchor tag.

This is the existing a element.

You are supposed to wrap your p tags around that.

You missed this part of the instructions
Do not create a new anchor tag.

Here are the last part of the instructions:
The new paragraph should have text that says View more cat photos , where cat photos is a link, and the rest is plain text.

Only modify the code for the existing tag I pointed out to you.

1 Like

my god i didn’t even notice that i was just suppose to modify it. i see what you meant i created another one for no reason thank you so much for making me see it i had my head wrap around this to much thank you.

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