Whenever I attempt to assign a background image using CSS, it triggers a console error.
This is my CSS code:
body {
background-image: url("background.png");
background-repeat: no-repeat;
}
The error message displayed is:
GET http://localhost/myWeb/css/background.png 403 (Forbidden).
Both the CSS file and the image are located in the same directory.