"Your a element should be nested within your new p element"

Tell us what’s happening:
Describe your issue in detail here.
Please help! My a element is nested within my new p element but I’m not moving forward. What am I doing wrong?

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

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

<img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p>View more <ahref="https://www.freecatphotoapp.com">cat photos</a></p>
<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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

What is ahref? Or, did you mean something else?

A proper anchor tag example:
<a href="https://www.w3schools.com">Visit W3Schools.com!</a>

Also, from the instructions:

You should only have one a element.

1 Like

I have your problem dude.

1 Like

Please keep me in the loop if you found a solution. I’ve been on this challenge for days :frowning:

I’ve adjusted the tag which resolved the issue however, I’m still struggling with the same challenge.

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