Cannot make a link in a paragraph

Tell us what’s happening:
Describe your issue in detail here. I cannot figure out how to make the “cat photos” a link…I have tried it sseveral differnt ways, but I am lost

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos<a href="https://freecatphotoapp.com"cat photos></a></p>

    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.62 Safari/537.36

Challenge: Step 12

Link to the challenge:

should be in this format
<open tag attributes> content </closing tag>
so… make sure the “cat photos” text is placed correctly

You don’t have anything in the link to display. You’ve opened your link and then without any content, closed it . If you want the image to be a link, you should place the image in-between the link tags. If you want to play around with it before complicating it with the image, try just placing ANY text in that space, and you’ll see it is now a hyperlink to the URL you are linking.

Thanks for your fast response

I think I misworded my last issue… The words “cat photos” in the last paragraph need to be the only link. That’s what it says in the instructions. I don’t know if i’m overthinking this but I have tried it a few different ways

compare the open/closing < > with ur code
a href="… etc"> text content should be here </a

Thanks for your help

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