Learn HTML by Building a Cat Photo App - Step 31

Tell us what’s happening:
hi! I can’t get this to pass. I looked at similar posts in the forum not sure what is going on. the error codes don’t seem to be working properly

Your code so far

        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <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>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
          <li>cat nip</li>
          <li>laser pointers</li>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
          <figcaption>Cats <em>love</em> lasagna.</figcaption>  
        <h3>Top 3 things cats hate:</h3>
          <li>flea treatment</li>
          <li>other cats</li>

<!-- User Editable Region -->

          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field>
          <figcaption>   Cats hate other cats. </figcaption>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15

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

Link to the challenge:

The text inside the figcaption have to be exactly than the text FCC give to you…


If you look at the end of the img code, you will notice the end quotation " mark is missing. Please add that to assist in passing your code.

Remove the extra spaces in the figcaption.

I believe you will pass the code with the above adjustments.

Happy coding! :slight_smile:

Bro, your mistake in closing tags. find it.

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