Basic HTML and HTML5: Link to External Pages with Anchor Elements-Your a element should have a closing tag

Tell us what’s happening:
Says my Anchor element needs a closing tag, however I’ve matched the cirriculum exactly and it won’t accept the answer. I’ve also tried removing the anchor text and just closing the anchor with the < / a > , and it still tells me that " Your a element should have a closing tag."

Any suggestions?

Your code so far


<h2>CatPhotoApp</h2>
<main>

<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>
<a href="https://freecatphotoapp.com">cat photos</a>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hi and welcome to the forum!

You changed the image element and it is no longer valid, which is disrupting the test suite. I would reset the code to repair this element and add your anchor element again.

1 Like

Thanks JeremyLT! HUGE Help :slight_smile:

1 Like