Need help here - learning for the first time

Guys, I need help w this lesson. When I run the test, the follow message apears: " You should only have one aelement." Could you please tell me whats wrong w this code? Thanks:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>View more
<a href="https://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 <a href="http://freecodecamp.org">everywhere</a> 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

It looks like you have two a elements, but you should only have one.

The first one I quoted shouldn’t be there.

1 Like

How do I fix it? Just delete <a href="http://freecodecamp.org">everywhere</a>?

It would probably be easiest to reset the challenge and only add the changes to the second a element I highlighted.

1 Like

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