79375189

Date: 2025-01-21 16:40:26
Score: 1
Natty:
Report link
Try two things before actually uploading the image:

1) Put the image in the same folder as the css code file is.
2) When writing the url, just after the double quotes put forward slash and select the image location from the drop down that pops up. ( I hope you are using VS code editor)

In the CSS code:

body{
     background-image: url("/ImageFolder/ImageName.extension");
    }

Upvote if the answer was useful!!!
Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tanvi Nara