Please help for Anchor Elements!

*Tell us what’s happening:
I try to link a description word to the link, except it says it is incorrect!

Your code so far


<h2>CatPhotoApp</h2>
<main>
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>
<a href="http://freecatphotoapp.com">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>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello and welcome to the FCC community~!

Remove this line. It is from the example and not part of the challenge, and it is confusing the test script. :slight_smile:

1 Like

The test is failing because it runs against the first link <a href="https://freecodecamp.org">this links to freecodecamp.org</a>

If you delete it you’ll be fine. The second link is correct.

1 Like

Thanks for the help!!!