Freecodecamp html problem

i cant get past this it says Your image should have a src attribute that points to the kitten image.

  **Your code so far**

<img src="" alt="A business cat wearing a necktie.">
<img src=""alt="fcc relaxing cat>"
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0.

Challenge: Add Images to Your Website

Link to the challenge:

Could it be because the 2nd <img> doesn’t have a file extension at the end of the image source?
Also you are missing a space between src and alt.

1 Like

I just re-did the lesson and ran the tests with several variations. The tests want the url. You will pass if you remove the first image. The space between the attributes is not necessary.
I thought that in the old curriculum we added more than one image, but here I passed with only the second image.

@wolfie.gorny You should kept the double quotes after the ending tag

<img src=""alt="fcc relaxing cat>"


1 Like

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