Learn HTML by Building a Cat Photo App - Step 15

Does anyone else have the same problem? I use the anchor tags correctly but they don’t let me go, I get the message “our anchor (a) element should have an opening tag. Opening tags have this syntax: .” am i doing something wrong?

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

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

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

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

Link to the challenge:

The code you have is not correct for this step. Your p element (above) should have been updated in an earlier step to include a link.
Have you already completed Steps 12-14 previously?

If you want to pass this step, you’re best to reset the lesson and then try to complete the step again.

You will also need to include an href attribute in your opening anchor tag (as per the instructions).

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