# Background Image Help! I'm Confused :-/

**URL:** <https://forum.freecodecamp.org/t/background-image-help-im-confused/432197>\
**Category:** General\
**Created:** [November 25, 2020, 4:03pm UTC](https://forum.freecodecamp.org/t/background-image-help-im-confused/432197 "2020-11-25T16:03:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![itskamilah](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/itskamilah/32/183917_2.png) [@itskamilah](https://forum.freecodecamp.org/u/itskamilah)\
**Post date:** [November 25, 2020, 4:03pm UTC](https://forum.freecodecamp.org/t/background-image-help-im-confused/432197/1 "2020-11-25T16:03:32Z")

</div>

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](https://codepen.io/kamilahd/pen/yLaBYdQ?editors=0100). The code in the #navbar id seems correct yet, the picture doesn’t appear. 😟

The photo I want is called “humpback” and is saved to my computer. I’ve attached a photo of the location. ![Capture1](https://global.discourse-cdn.com/freecodecamp/original/3X/5/2/52a5aef5c3d022f87606432007fade40a04f7afb.jpeg)

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [November 25, 2020, 4:06pm UTC](https://forum.freecodecamp.org/t/background-image-help-im-confused/432197/2 "2020-11-25T16:06:46Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![itskamilah](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/itskamilah/32/183917_2.png) [@itskamilah](https://forum.freecodecamp.org/u/itskamilah)\
**Post date:** [November 25, 2020, 4:41pm UTC](https://forum.freecodecamp.org/t/background-image-help-im-confused/432197/3 "2020-11-25T16:41:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:36pm UTC](https://forum.freecodecamp.org/t/background-image-help-im-confused/432197/4 "2021-06-01T18:36:43Z")

</div>

Closed on June 1, 2021, 6:36pm UTC


