Learn HTML by Building a Cat Photo App - Step 30

Tell us what’s happening:

Describe your issue in detail here.

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. </alt>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 30

Hey @kienlmdrd
All attributes need to be inside the opening tag of an element and since the img tag is a self closing tag it goes inside the tag,You need to place the tag below appropriately.


<img src="#" alt="#">

Hope it helps

@kienlmdrd welcome to the the forum
The error message from your code in the step is giving you information about what is not working in the step.

Examine your code, then put into words what is happening. This will help you to understand what is going on, then you have a basis from which to troubleshoot.

I hope what @opudoprince suggested helps.

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