Build a Cat Photo App - Step 17

Tell us what’s happening:

I’m currently working on Step 17 of the Learn HTML by Building a Cat Photo App project on FreeCodeCamp, and I’m having trouble getting my code to pass the tests. I’ve gone through all the instructions carefully and watched the related example video, but I keep receiving the same set of error messages about my anchor () element.

The message says:

“Your anchor (a) element should have an opening tag. Opening tags have this syntax: .” It also says that I’m missing a closing ta

Your code so far


<!-- User Editable Region -->

<h2>CatPhotoApp</h2>

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

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build a Cat Photo App - Step 17
https://www.freecodecamp.org/learn/full-stack-developer/workshop-cat-photo-app/step-17

There aren’t official videos, so watching someone else solve the curriculum on a video may give you the wrong results, as those videos may be for a wrong version of the curriculum

Welcome to the forum @atripathy745

A lot of the seed code is missing from your post.

Please reset the step to restore the original code and try again.

Happy coding