I can't nest the anchor within the paragraph

Tell us what’s happening:
I can’t find a solution of what to do. It says that my a element should be nested inside the p element which is what I don’t completely understand

Your code so far


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

<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

<p>View more
<a href="https://catphotoapp.com">cat photos</a>
<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

It looks like you have the right idea, but do it with the a element with the href of https://freecatphotoapp.com. And don’t leave out the target tag.

You’ve got 2 anchor tags in your code. I’m assuming you created one yourself. However i think the challenges wants you to create 1 p-tag around the already existing anchor tag.


Right after main tag is the anchor (a) tag, surround the a tag with the p tag.

1 Like