Image doesn’t load as a background
hi there, i will be very grateful if you advise why my code doesn’t work. I need to upload one of the images on my desktop to be a background pic for my tribute page:
I tried different paths : like file:///C:/Users/yusuf/Desktop/PIANO.jpg or /Desktop/PIANO.jpg and others
*
body {
background-image: url(“./images/PIANO.jpg”);
background-position: center center;
background-size: 100% 100%;
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
But now the image keeps disappearing when i edit some parts of the code, like when i change the font color of h1. I tried also setting background attachment as fixed; position-static. But something seems to overflow the background image.