I need help on html step 12

I dont know how to make the link’s text in the ‘p’ element
to be “cat photos”

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <a href="https://freecatphotoapp.com"> click here to view more 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.">
  **Your browser information:**

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

Challenge: Step 12

Link to the challenge:

You’re almost there.

The p element should show the same text in the browser, but the words cat photos should now be a link.

But you put all of the text in the link, you have “click here to view more cat photos” as your link text, they only want “cat photos”. That other text should come before the link.

When I fix that, it passes for me.

1 Like

Thank you, this helped me a lot!

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