Learn HTML by Building a Cat Photo App - Step 22

Been stuck at this for a day, can’t move on, any help is very much appreciated. New here. The error says The new image does not have an src attribute. But I think I already added the screenshot attribute? this is my code:

 <ul>
      <li>cat nip</li>
      <li>laser pointers</li>
      <li>lasagna</li>
    </ul>
    <img scr = "https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg"alt= "A slice of lasagna on a plate.">

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

Link to the challenge:

Welcome to the community :smiley:

Attributes dont have spaces within them
<tag attribute="value">content</tag>

We use spaces to separate attributes/value pares and tags.
eg:
<input type="text" id="fname" name="fname">

Also your src is spelt ‘scr’

1 Like

The s rc typo was the issue HAHA Thanks a lot :slight_smile:

2 Likes

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