Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

I’m stuck on step 17 of HTML building a cat photo app

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> 
    <a href= "https://freecatphotoapp.com"> <img src="image-link.jpg" alt="A cute orange cat lying on its back."></a>

<!-- User Editable Region -->

    </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/133.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

Hi. You are using bits of the example in your code. I suggest you reset the step to get the code back to how it was. You don’t need to change your image element code. The instructions asks you to “surround” the image with an anchor element. The example tells you how to surround an image element with an anchor element. Use the href given in the instructions, not in the example

Okay! Thank you so much!!!

1 Like