Nest problem with nested elements

I could reverse the href attribute with the text and link vice versa and if shows if as correct also. The anchor is nested yet it’s saying it’s missing that criteria of it being nested when I run it

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>

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

 <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p> View more 
	<a href="Cat-photos">View cat photos</a>
</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>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 EdgiOS/44.4.0 Mobile/15E148 Safari/605.1.15.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph

I am moving your thread to the appropriate curriculum help subforum

you have two a elements, you should have only one. Start there, and be sure to put it in the right position, and follow the instructions to give it the right attributes