Learn HTML by Building a Cat Photo App - Step 21

I don’t understand what am I doing wrong. The Hint tells me that “the image does not have an Alt attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.”
Here: A slice of lasagna on a plate.

I have Alt attribute and space between the alt text, then what is the problem? See comments for screenshots.

Thank you.

Hi @mila02 ,

You are adding the img within the ul element.
You have to add it after the ul element, which means after the closing </ul> tag.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks.

Your code goes here

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

Please provide a link to the challenge as well.

Thank you so much for your help! @spark07

1 Like

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