Need help to nest an anchor element within a paragraph

Tell us what’s happening:
Describe your issue in detail here.

i can;t do this
You should only have one a element.
Your a element should be nested within your new p element.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<a> 
  <p>  cat photos</p>
  
  </a>
  <p> View more</p>

<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>
</main>
  **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:

please help me to complete

@TEJU0051 ,

You should only have one <a> element. Do not create a new <a> element.

Create a new <p> element and nest your existing <a> element inside newly created <p> element.

You should have total 3 <p> element and only one <a> element.

Hope it helps

please help me anyone only 2 test is remaning i have tried a lot but it is not done

when i remove the url it work but the second test is failing please help me

@TEJU0051 ,

You should have only one <a> tag in your code. Nest your existing <a> tag inside a new <p> tag.

Do not create a <a> tag.

Hope it helps

Have a very close look at the first example on the top left of your screen. It is almost indentical to what they want you to do. See how the a tag is between the p tags and yes you should only have 1 a tag on the page.
Maybe reset the test and just work on the a tag that is already there for you

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