What is the problem in this anchor . cause it is working?

Tell us what’s happening:

Your code so far

<a>href="https://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>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello Saba.

The href property is supposed to go inside the opening a tag.

Hope this helps

Look closely at that opening tag. There’s an extra > in there.

You have an extra > which makes the programm confused when you try and excute it.
remove the extra > and you should be fine

1 Like