Learn HTML by Building a Cat Photo App - Step 21

Tell us what’s happening:
Describe your issue in detail here.


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

I just need help with figuring this one out. If I put a ‘>’ after ‘img’ so that it recognizes as an img element, it then shuts off the ‘src’ after it. How do I make the img element recognized as there is already an img element but it is not recognized? Thanks

  **Your code so far**
<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:

Hey! You added an extra > between the alt nad the src tag. According to the browser, your img element ended there and a new element started which is not recognized.

To add multiple attributes to an HTML element, all you need to do it space them out like this.

<button id="atrribuet-1" class="atttribute-2"> my button</button>

Hope this helps! :smile:

Nice. Just done it. Thank you.

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