Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Your code should only contain one anchor (a) element. Remove any extra anchor elements.

  **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"></a></p>
  <p><a href="Click here to view more cat photos.">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/105.0.0.0 Safari/537.36

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

Link to the challenge:

<p>Click here to view more cat photos.<a href="https://freecatphotoapp.com"></a></p>
  <p><a href="Click here to view more cat photos.">cat photos</a></p>

Two errors spotted.

  1. You need to make cat photos a link in the click here to view more cat photos
    You do that by moving <a href="https://freecatphotoapp.com"> before the cat photos.

you code should look like this: click here to view more .<a href="https://freecatphotoapp.com">cat photos</a>

  1. You would need to delete this from your code <p><a href="Click here to view more cat photos.">cat photos</a></p>

hope this helps

1 Like

Thanks so much!! I got it now. :slight_smile: