Linking an anchor

This next statement is wrong

<a href=<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> 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/100.0.4896.60 Safari/537.36 Edg/100.0.1185.29

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

This isn’t a valid anchor tag. You aren’t linking to anything with that anchor tag.

Create an a element that links to https://www.freecatphotoapp.com and has “cat photos” as its anchor text.

It really helps if you share all of your code.

1 Like

THE TUTORIAL ASKS US TO : Create an a element that links to https://www.freecatphotoapp.com and has “cat photos” as its anchor text.


This is a Target Link and some Anchor text:

This is an example of An Anchor Element with Anchor Text:


<a href="http://www.tinydancinghorse.com">Tiny dancing horse</a>

It creates a link Like:
Tiny dancing horse


THIS TUTORIAL ASK US TO:

Use: https://www.freecatphotoapp.com as a Target Link and
“cat photos” as its anchor text.

I will next time, but thank you in any case

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.