Adding website images

can someone please tell me what is wrong with my code here? I’ve been stuck in this challenge for a while and I don’t really know what’s wrong
<img src="https://bit.1y/fcc-relaxing-cat "alt=“A kitten”

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hey @wanalwalid, welcome to the forum!

Seems like you might have forgotten to close the <img> tag with a >, is that true?

I did close it but still I’m stuck in this challenge

Hmm @wanalwalid I notice that you had accidentally added a space after the link in the src attribute; that breaks the link and fails the test when I purpousely did that in the challenge.

If it still doesn’t work, make sure you followed the other requirements; it also says:

  • Put the <img> element inside of the <main> element
  • Put the <img> element before the existing <p> elements.

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