I cant make the code to work i tried everything

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

  **Your code so far**

<a href="https://www.freecatphotoapp.com" "cat photos"</a>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

can u please check the code for me
Create an a element that links to https://www.freecatphotoapp.com and has “cat photos” as its anchor text.
<a href =“https://www.freecatphotoapp.com” cat photos"

I noticed you are missing part of the opening a tag:

<a href=“https://www.freecatphotoapp.com” “cat photos” <!-- should be closed with >

my code - <a href="https://www.freecatphotoapp.com" "cat photos"</a>

error - // running tests Your


element should have the anchor text of

cat photos

It really is best if you practice actually describing what’s going on instead of just copy-pasting some error messages into a post.

The opening anchor (a) element tag is never closed. Look at the example:

<a href="https://www.freecodecamp.org">this links to freecodecamp.org</a>

thankyou was making a silly mistake

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