Nest an Anchor Element within a Paragraph scratching head

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <p>
  View more  <a target="_blank" 
    href= "http:freecatphotoapp.com"> cat photos </a>.
    </p>
  <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>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 (X11; CrOS x86_64 11151.113.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.127 Safari/537.36.

<>>

It’s saying the a element is not nested with the p element???

You have 2 <a> elements one insde and one outside p element. Try removing the outer one.

Thank @shimphillip! That was it. I should’ve paid attention to how the web page looks :wink:

You had to do cut-paste but you did copy-paste. :smile: