SRC error that from HTML

So, I got this challenge, and Idk how to solve it. I mean, I did but says I didn’t. I got this:

<img src ="https://bit.ly/fcc-relaxing-cat" alt ="Relaxing Cat ">

Also, there is no space, it’s just so it wouldn’t post the image so yall could see it, but it says " Your image should have a src attribute that points to the kitten image."

First of all, when you need help on the curriculum, please use the Get Help -> Ask for help button. It will post your code, and a link to the challenge. (Sorry, we don’t have them all memorized.)

In any case, besides a few spaces after and before the angle brackets (maybe just a copying thing) your code is basically right, but the url isn’t quite right. You have:

< img src =“https://bit.ly/fcc-relaxing-cat” alt ="Relaxing Cat " >

It says:

Now set the src attribute so that it points to the url https://www.bit.ly/fcc-relaxing-cat

Do you see the difference? When I fix it, the code passes for me.

IC, maybe you did that extra space because you were trying to keep the HTML from rendering. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

I also fixed your original post.

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