<a href="https://www.freecodecamp.org">cat photos</a> #help! where am I getting my code wrong

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**


<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
<a href="https://www.freecodecamp.org">cat photos</a>

<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 (Linux; Android 9; itel W6501) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.80 Mobile Safari/537.36

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Instructions say:

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

Note the URL.

1 Like

I’m not sure how to create it for I have been trying to do that and the browsers keeps on saying create an a element

Here’s your a element. The syntax is correct, but the URL it’s linking to via the href attribute is not correct. You’re linking to https://www.freecodecamp.org, but the instructions say to link to https://www.freecatphotoapp.com.

Thank you so much @colinthornton I was not paying attention it has worked out perfectly.

1 Like

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