It keeps asking a closing anchor

Tell us what’s happening:

Your code so far

<a href="">cat photos</a>

<img src="" alt="A cute orange cat lying on its back."</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>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

this is a syntax error

1 Like

Hey @issadjibril19!
Welcome to the FCC forum!

Think about exactly what it is telling you and re-review those elements. Is everything exactly where it should be?

Hey @Loggith!
Welcome to the FCC forum!

Thank you so much Codely!!!

Honestly i tried 100 times but Thank you though


as @ilenia have pointed out, you have added/edited redundant </a> in the end of your img element.
This is what you have in your code now:

<img src="" alt="A cute orange cat lying on its back."</a>

and this is what it should be instead (notice the ending tag):

<img src="" alt="A cute orange cat lying on its back.">

that is what you need to fix.
other than that, everything else in your code seems to be working fine. Hope this helps.

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Oh, Sorry, I am new to this forum, so I didn’t realize that. I have edited my original answer and added the spoiler blur on the code. I will keep this in mind from the next time before answering, Thanks!

Not a problem! This stuff is difficult and full of small details and nuances. It can be frustrating at best sometimes, don’t give up! We have a great community here and we will all be stronger coders/programmers for it. Personally I think one of the best parts about learning how to code is how it teaches you new ways to think and problem solve as well.

I have passed that level guys.

Thank you!!!

1 Like