'Why this isn't changing the background to an image in CSS?

I wrote this code in CSS

'body { background-image: url('C:\Users\HerOx\Desktop\Proyectos Programación\gata conquistadora\imagenes olivia\olivia-demonio.png');

}'

And it isn't working.



Solution 1:[1]

A solution for this would just to put the image in the same folder as the code, then write the image file there instead of going through the entire computer.

body{
  background-image: url("olivia-demonio.png");
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tabogachi