Test is not completing for html image challenge

Tell us what’s happening:

Your code so far

<img Src = "http://bit.ly/fcc-relaxing-cat"alt="it">


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/ Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Welcome, aaayub.

For HTML, the attributes are written in lowercase. So, your source attribute should be src.

Also, do not put spaces between the attribute, the equals sign, and the value. In your case:

However, you should put a space between your attributes.

Finally, make sure your source link is correct; it has to match up exactly.

Hope this helps

While the code is a little bit messy, the only part that is invalid HTML is not putting a space between your attributes, i.e. the space between the double quotes and the alt attribute. Even then, browsers are usually very forgiving (thank goodness!), and will still usually render your page OK. However, @Sky020 is perfectly correct in pointing out that the usual convention is to make all your attributes lowercase, and don’t put spaces on either side of the equals sign. As most people folllow these conventions, it means it’s a lot easier for people to read your code and vice versa.

So if there’s nothing wrong with your code, and the image is appearing in the preview pane, why is it still failing the test?

Well, a URL is essentially is made up of two different parts – a scheme and a path.

For your path, you have written bit.ly/fcc-relaxing-cat which is exactly what is needed.

So, what about the scheme part? What have you written, and more importantly, what do the instructions ask you to use?

Hope that helps,

sir everything is right but test not completing please help me

sir please help me my this task is pending from 3 days

have you done the suggested changes? what’s your code now?

I’m having the same issue. It actually looks like the site is recognizing the symbols from my iPhone.

The text and dashes appear in red And underlined like an image link. However it’s a black line underneath the : and // after the https. So it’s saying incomplete even though it’s all there.

@indpntbrwncoat You should be surrounding your attribute’s values with quotes of some kind. Also, there is no scr attribute. Look carefully at the example code and the instructions for what the correct attribute name is.

1 Like

In src attribute Try https instead of http
It will pass the test

1 Like

thank you very much you are brilliant you solved my problem you are genius plz give me your email i contact if i face any other problem you know i am posting this question from five days and you solved this in a minute fab


The quotation marks! Thank you so much

1 Like