Background Image Help! I'm Confused :-/

Hello,

I am trying to insert a background image for some of my projects but for some reason they never show up.

I am trying to set a background image of my navbar for this project https://codepen.io/kamilahd/pen/yLaBYdQ?editors=0100. The code in the #navbar id seems correct yet, the picture doesn’t appear. :worried:

The photo I want is called “humpback” and is saved to my computer. I’ve attached a photo of the location.Capture1

you can’t use an image in your local machine in an online editor

you need to host it somewhere online - to upload it in codepen you need the premium subscription, but you can use a service specifically for hosting images, or use a different online editor that supports uploading images (ex. repl.it)

1 Like

Thank you, I didn’t know that. I figured out that I could also use a link address for the background image. :slight_smile: