Background Image is not showing

Hey peoples, I deployed my site from github, but background image is not showing up in netlify wheres it was visible in local machine.

here is deployment :-
https://drumkitusingjavascript.netlify.app/

here is source code :-

this is what project should look like :

Hi @ankit-nainwal, thanks for posting and welcome.

You have not properly commented out the first line. In CSS comments are /* Comment here */ instead of // Comment here. Kindly fix the comment on the first line of code.

Also change the background url property to './images/venue.jpg'. Check the code below.

html {
    font-size: 11px;
    background: url('./images/venue.jpg') bottom center;
    background-size: cover;
  }

Let me know the outcome after you try out the suggestions above.
Thanks.

2 Likes

Thank you, its fine now!!!

1 Like