Add images-background-images not working

i need help with my code i don’t know what is wrong with it can anyone please help me



#cover {
  background-image:
    url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-8/htmlcss1-img_bicycles.jpeg")


Try using the simpler, background: url(""). Background-image doesn’t seem to always work for some reason.

im having the same problem. tried both ways and didn’t work.

Try adding ; at the end of url and try to put your url on the same line as background-image.
And most important of all, you forgot to close #cover with }

Hi guys, on HTML (not on the CSS)I have changed div id “cover” to div id=“covers” (i can’t use <> here but you should use it.) Basically change the Div ID to “covers”
and to be able to see the image put the link given by using <img src=
( right after the div id on the html.)

7 Likes

thanks! it worked.:slight_smile:

1 Like

Worked for me too! Thanks!

1 Like

cela fait 2 jours que j’étais bloqué sur cet exercice, merci beaucoup, de votre aide

this is two days I was stuck on this exercise, thank you very much for your help

1 Like

cela fait 2 jours que j’étais bloqué sur cet exercice, merci beaucoup, de votre aide

1 Like

Thank you @ssinem, I was not able to get a solution to this, but it worked…
But can anyone please tell me why this issue happened…?

1 Like

Hey, I was stuck on that one too. Thanks @ssinem !

1 Like

worked for me, thanks!

1 Like

delete all the buttons from the html page and run

@kunalgaurav This is most likely an error by codecademy. Unfortunately, after the update, codecademy has been very buggy, hang in there.

Thanks @ssinem & @quantumtechnologys

1 Like

@ssinem thanks for getting me past this, glad someone could figure out the way around this bug!

just change id=“cover” to class=“cover” in index .html and from #cover to .cover in style.css IT WORKS

Thanks it worked for me too!!:slight_smile:

finally, it worked. thank u so much.

Thanks @iamsingle. it is working for me now.