I'm stuck on how to complete this assignment

Tell us what’s happening:

Please help!! I’ve tried for 2 days and it’s not working.
Thank you.

Your code so far


<a href="https://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>
<p> view more
a href="https://freecatphotoapp.com" target="_blank">cat photos</a><p>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

try this

cat photos

1 Like

Your a tag is missing a <, and your paragraph is outside the main, not inside it.


Nesting an html element means that the nested element is inside the other element like so:


So in this case you have to make a new <p></p> element where the <a></a> element is nested inside. A <p> element is a paragraph so it also has to contain the text mentioned in the challenge


Thank you so much! :smile:I appreciate your help.

Oh ok. Thank you!! :slightly_smiling_face:

Thank you for the tip! :slightly_smiling_face: