Your code should have an SRC attribute that points to the kitten ERROR

I’m receiving this error: “Your image should have a src attribute that points to the kitten image.” My code does have src attribute though. I believe the example code is broken.

src=“” alt=“A small kitten.” /

User Agent is: Mozilla/5.0 (X11; CrOS aarch64 13505.73.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.109 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Are you copy/pasting this code from an editor on your computer? The double quotes in your code are not ascii quotes but rather those fancy left/right double quotes that a word processor would use. When coding you always want to use the plain old boring ascii double quotes. So if you are using your own editor then you want to turn off those fancy double quotes.

Also, the URL to the cat image is not quite right. You’ve added a www. to the beginning of it. These tests are quite sensitive. You must do exactly as instructed.

1 Like

I agree. Your double quotes are the 69 style found in texts and browsers don’t like them. :crazy_face:
Always use “” :slightly_smiling_face:

I was using a funny keyboard. I got it figured out. Thanks!

1 Like