How do I pass this a href challenge?

Tell us what’s happening:
I add an a href element (<a href="">cat photos</a>) and when I run the test it doesn’t let me pass but says:
You need an a
element that links to

Your code so far

<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>
<a href="">cat photos</a>

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Compare the url you used (‘’) to the one the challenge asks you to use.


Hello @Codego, and welcome to the forum.

The tests sometimes are really specific, and will match the string exactly, for example this one will look for

While you are linking to a https, so the two urls are not matching

Hope this helps :+1:

Minor details are major in coding. Lesson learned. Thank you

1 Like

Yeah, i noticed immediately that you used hpps instead of http, the difference is one is secured and one is not :). HTTP = non secured website, HTTPS = secured. Then you simply need to put the correct anchor words between a achor href with the site link in it , then the link name of cat photos, then ending link anchor tag :).