Please any help on how to nest my a element into my p element

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>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>
View more
<a target="_blank" href="cat photos"> cat photos </a> 
</p>


Your browser information:

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

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

The exercise gives you a url that the a tag should link to. So set the href attribute to “http://freecatphotoapp.com” not “cat photos”

1 Like

thank you, that was helpful

"Your form should have an action attribute which is set to /submit-cat-photo"
please i was asked to do this but i m still getting it wrong
i did this