Nest an anchor element within the paragraph

"You should only have one A element "
"Your A element should be nested within your new P element "
“Your P element should not have the text view more”
these are issues …
please someone help me in this


<h2>CatPhotoApp</h2>
<main>

<a href="https://www.freecatphotoapp.com" target="_blank">cat 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>
<p>
here's a <a target="_blank" href="https://www.freecodecamp.org"> link to follow www.freecodecamp.org </a> for you to follow.
</p>

<p> View more"cat photos"</p>

Hi @bangtanarmy201305,
follow the instructions:

Nest the existing a element within a new p element. Do not create a new anchor tag. The new paragraph should have text that says View more cat photos , where cat photos is a link, and the rest is plain text.

  1. You have to wrap the first a element :
    <a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>
  2. Remove everything under the </main> tag.

I hope I was helpful. :wave:

Your code has two a elements.

This should be in the p element that contains the a element. You appear to have created multiple p elements.

You could delete the first anchor element as you should only have one anchor element

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