Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I really think I’m making the right moves but they end up not being correct… please can someone explain to me my mistakes?? :pensive:
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
    
      <a target="_blank" href="https://freecatphotoapp.com"</a>
      <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/108.0.0.0 Safari/537.36 Edg/108.0.1462.54

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

Link to the challenge:

You are not turning the image into a link. Right now, your code has a link and then displays the images That link needs to be a part of the img

1 Like

Don’t change the original HTML. I would restart the step to get it all back.

You only want to make the image a link by wrapping it with the appropriate tags that turn things into links, just like you did with the words “cat photos” in the p element.

1 Like

Thanks alot, that really went a long way… I was able to pass the test

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