Help in Nest an Anchor Element within a Paragraph

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**


<h2>CatPhotoApp</h2>
<main>
<p> View more cat photos
<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>
</p>

<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 <a href="https://www.freecodecamp.org" target="_blank">everywhere</a> 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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

remove the “cat photos” from the <p> tag and keep it in the link’s anchor text.

don’t give wrong solution
@abitom3

You should remove this anchor element but keep the everywhere text inside the paragraph

hey @mrityunjayramesh ,

only one a element is allowed here.

remove this what i had marked and you are good to go to next challenge.

What exactly was wrong?

there are 2 mistakes.

Your comment here is correct. This was a good piece of advice to tell the OP.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.