Step 12 of the cat app

I made this, and for some reason it wont take it as valid, even when it works, i dont know if its an error or im skipping something

  **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
       <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">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/103.0.5060.53 Safari/537.36

Challenge: Step 12

Link to the challenge:

Why did you change the link to something different?

wdym i use the image they gave me

Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element.

You used the src for the image, not the href for the anchor.

1 Like

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