Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

I’m very confused. can someone help me here. its the responsive web design section

A photo of a cat relaxing.

"Sorry, your code does not pass. You’re getting there.

  1. Your anchor (a) element should have an opening tag. Opening tags have this syntax: ."

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

<a href="https://freecatphotoapp.com">
  <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A photo of a cat relaxing.">
</a>





<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

Your code is alright. I can pass the test. Refresh it and try again.

2 Likes

It passes for me as well, try disabling extensions and clearing your browser cashe