Learn HTML by Building a Cat Photo App - Step 12

Tell me what’s wrong and why it not works: Thanks
Describe your issue in detail here.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <a href="https://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.">
  **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: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

what is wro

You need to close the first tag, the text comes between the opening/closing tags, like this:

<a href="link-destination">This text will be a link</a>

And after you do that, remove the <a> element, you should have only the <p> element, with the anchor tag inside it, something like this:

<p>This is a <a href="destination-link">paragraph</a></p>

In this example, only the paragraph word will be a link. :slight_smile:

1 Like

thanks, it worked :smile: my code is passed, I’m so happy

1 Like

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