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**

<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">
<img src="https://bit.ly/fcc-relaxing-cat"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>
</main>
  **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 bit.ly 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="https://bit.ly/fcc-relaxing-cat"alt="fcc relaxing cat>"

noticed?

1 Like