Add images-background-images not working


#1

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")

#2

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


#3

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


#4

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 }


#5

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.)


Learn HTML & CSS Background: Shorthand
#6

thanks! it worked.:slight_smile:


#7

Worked for me too! Thanks!


#8

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


#9

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


#10

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...?


#11

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


#12

worked for me, thanks!


#13

delete all the buttons from the html page and run


#14

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


#15

Thanks @ssinem & @quantumtechnologys


#16

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


#17

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


#18

Thanks it worked for me too!!:slight_smile:


#19

finally, it worked. thank u so much.


#20

Thanks @iamsingle. it is working for me now.