Learn HTML by Building a Cat Photo App - Step 12

I added the <a element with the href and closed it in the

like it was asked and it is still not working. Is this because I am not nesting this properly. When I click the link on the image it tells me that it is supposed redirect me to the image website like it is supposed to do. I am just stuck on this section. Can you please explain deeper or help me understand where I am going wrong? Thank you!

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more.<a href="https://freecatphotoapp.com">cat photos</a>.</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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

Look at this code preview and look at yours.
By now your code preview have (.)
Delete it and you are good to go

Also you only need 1 anchor tag (a) not 2

Thank you I got it to work!

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