I cant go through this herf can someone help me

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>

<a herf="http://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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

the attribute name is href not herf

1 Like

Hi. herf and href are different.

Use the correct attribute name and that is “href”. Your code will look like this :-

<a href="http://freecatphotoapp.com"<cat photos</a>