Hey is there a typo or soemthing I dont know whats wrong witht this code

Tell us what’s happening:
I think there might be a typo I just need a frsh pair of eyes to read through this but it says that I didn’t an a element that links to http://freecatphotoapp.com
Please help me

Your code so far


<a>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/70.0.3538.102 Safari/537.36 Edge/18.18362.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

You are supposed to have a single anchor element that meets both requirements. Also, you did not add the url to your anchor element correctly. I’d look at the sample anchor element again.

@branimations55 your a element does not have a destinistion web address href attribute

Hey buddy! the anchor tag should be like this

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

for linking into a external page you have to add attribute called “target” and set the value as “_blank”
in this way you can clear this challenge!!

Hope it helps …


Yuvicodes11 is right! Instead of having <a>http://freecatphotoapp.com</a> just after <h2> CatPhoto App you need to have <a href="http://freecatphotoapp.com"> cat photo app </a> and also, you don’t need tag I guess.

1 Like