Anchor element challenge

Tell us what’s happening:

Please who could help me what is the error in this anchor element , I’m entangled here. please help

Your code so far

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

<img src="" 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>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello there.

You have put the incorrect URL. Have a careful read for typos.

Hope this helps

1 Like

Hi @Mulumba1, welcome to the freeCodeCamp forum! :wave:t3:

The issue is the https in the href value. If you use http as shown in the challenge instructions you will pass the test.

Create an a element that links to and has “cat photos” as its anchor text.

worked perfectly, thanks very much sir

1 Like



what i'm doing wrong with this anchor element and it's target element?

Hi @ripanpal3 :wave: welcome to te freeCodeCamp forum.

I wanted to let you know that it’s probably best to open you own topic thread in the forum. In addition, please be sure to give a detailed account of what issue you are running into, along with the relevant code you are working with. Without that information it will be hard to provide help for your specific problem.