Anchor element for 'catphoto app' Tags, not clearing test module

Tell us what’s happening:
I’m having difficulty with getting the anchor tag for the
<a hreg=“https://freecatphotoapp.com” Cat Photo to clear the test cycle. It shows as being there on the display, I have cleared the other portions of the code but not this element portion. Can someone advise, please?

Your code so far


<h2>CatPhotoApp</h2>
<main>
<a href="https://freecodecamp.org"> This links to freecodecamp.org</a> 
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<a href="https://www.freecatphotoapp.com"> Cat Photos</a>


<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

remove this line from your code

I don’t see any problem with that line, make sure you are not missing any characters such as the " or = . Let us know if you were able to fix it.

the tests will be confused if you add more than one anchor element

make sure you have there only one, instead of two like you have


@Jose_Ortega it may not be sintatically wrong, but the tests look for specific things. It is really easy to stop them from passing.

Thank you sexy_stranger, removing the excess element did the trick. What I don’t understand is why. Wasn’t the first element pointing to the image required in order to link to the website?