I'm currently taking an HTML class and need some help. I tried to add a background image to my webpage, and while it worked fine on the class computers, it just won't show up at all on my home computer. I've changed the image format from PNG to JPEG and tried everything I could think of, but the image keeps removing itself whenever I make any changes. Can anyone give me some pointers?
3 Answers
Aha! Don't beat yourself up too much. Sometimes it’s the little things that trip us up—I once forgot to close a tag and that ruined everything! Glad to hear you fixed it!
Sounds frustrating! But honestly, you're not the first to run into this. If you can, try sharing your actual code instead of just talking about the image. It makes it a lot easier for others to help you out.
Without seeing your code, it's tough to know what's wrong. It sounds like it could be an issue with the file path of your image. Check out this link on file paths for HTML images. It might help you figure out where things are going wrong.

Thanks, I realized I didn't close a line properly. I was pulling my hair out for nothing!