My problem my code is not working guys some one help me

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<a herf= "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>
</main>

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.75 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

1 Like

You are using herf, but herf is not a valid attribute, maybe you wanted to use href?

yes but can you pls just eloberrate

so tell me its just the difference of href right

If you use herf it doesn’t work, you need to use href, note the different order of letters

The problem with your code is with the herf tag. I think you spelled it wrong. Change it to href tag and you will pass. :smile:

thank you sirrr helped a lot to me

thanks paul helped a lot to me be my frnd as you can help me :grinning: :grinning:

1 Like

It’s my pleasure to help people who struggle with coding