Background-image URL in CSS

Hi guys - I am trying to add this image to my css as a background image but it is not displaying it.

my image:
an image from codeacademy that works: ttps://

Does the link have to be local?


I think your problem is that the URL you provided is not the URL to the image, but to the unsplash site. If you right click on the image and copy the link to it, this is what you would get:

Try using that URL instead!

Thank you so so much! :star_struck:

1 Like