How to Nest an Anchor Element within a Paragraph

hhheeelllppp!!!


<h2>CatPhotoApp</h2>
<main>
  
link
  
link
  
  <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>veiw more <the link goes here

Looks like you have unnecessary texts and syntax errors here.

Pretty sure you don’t need link in your main tag.

Not sure if this line needs to be there at all. If there is, you need to make sure you are not opening <the and close your <p> tag with </p>

Try re-reading the instructions again.

Good luck!

the exercise says nest an anchor element <a> within a paragraph <p> . So the structure will be like

<p>Some content <a> link </a> goes here </p>

Now can you solve the exercise?

1 Like

it still didn’t work.

Can you post your updated code?

thanks, it worked.:grinning:

CatPhotoApp

<a href=“free cat link” target="_blank">cat photos

<img src=“relaxing cat link” alt="A cute orange cat lying on its back.>

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

/View more <a href="free cat app link"; cat photos

I can’t include links yet sadly.