Learn HTML by Building a Cat Photo App - Step 21

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>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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.">
  **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 21

Link to the challenge:

Hello and welcome to our community,
Please always try to write a short description about the issue or specify what kind of error is there.

please double check how you used alt in this line, something is missed, isn’t it ?

1 Like

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

1 Like

The “alt” attribute should be inside the img tag. (Same as the src attribute is also inside the img tag)


There should be an img element right after the closing </ul> tag.

remember to use alt within the img tag, also you must use it with “=”.

<img src="url" alt="myalt">
1 Like

that is code does not pass
what is the correct code please
<alt “A slice of lasagna on a plate.”>

You didn’t put the alt in the img element did you ?

is this not the correct code?
am finding hard to find my mistake please help me out
can we chat in private if yes How please i need a Coach Badly
<alt “A slice of lasagna on a plate.”>

check your code and mine , it will be solved , let me help you to find out , please remove the “<” before “alt” and put “=” after alt

1 Like

wow that Great nice one
please how can we talk in private i need a coach badly

We are always available to answer questions in public on the forum.

1 Like

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