Tell us what’s happening:
I’m writing the code 100% right but I can pass this test.
<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="http://freecatphotoaap.com" target="_blank">cat photos</a></p>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.
Challenge: Nest an Anchor Element within a Paragraph
Hi Ariel, thank you very much for your willing to help me.
I’m still confused with the platform, I just starting today.
This is what I must accomplish:
Nest the existing a element within a new p element. The new paragraph should have text that says “View more cat photos”, where “cat photos” is a link, and the rest is plain text.
This is the code I made:
<a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
This is the result:
// running tests
Your a element should be nested within your new p element.
// tests completed
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.