New, stuck on a simple problem, could really use some help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

New, stuck on a simple problem, could really use some help.

Ok, so I'm trying to build a page with bootstrap, and I have tried so many diff code variations just trying to get a background pic to load, if anyone could tell me what's wrong that would be great. Here's what I have right now . https://code.sololearn.com/WD341l6Mt7WW/?ref=app The first code is the one I'm having the problem with. The second one I just have a question, why is it when I try to view the code output in sololearn the pics don't load, but if I put the code on my actual page they do load? I think I probably had the first code right at some point and thought it was incorrect because the img wasn't loading in sololearn, but probably would have on my site, but now I have changed it so many times I'm lost, and now 2 days and about 10 code variations later I'm still just trying to get a stupid pic to load as my background img. 🤯 https://code.sololearn.com/W7CO4nN1pkca/?ref=app

23rd Feb 2020, 7:16 AM
Mattit Yahu
Mattit Yahu - avatar
3 Answers
+ 2
Your img link http://matt.coolpage.biz/img/iuniversity.jpg blocks other website to load it. And you also have few css error, that make you can't load the image. https://code.sololearn.com/WGzDzFZfrjcV/?ref=app
23rd Feb 2020, 7:28 AM
Calviղ
Calviղ - avatar
+ 2
https://code.sololearn.com/WxMk6Te0eoAc/?ref=app
23rd Feb 2020, 7:29 AM
Calviղ
Calviղ - avatar
+ 1
Hmm, thank you I was suspecting that it was being blocked from loading other than on site. As for the first code I wasn't sure what was wrong. Thank you much for your help, is very much appreciated.
23rd Feb 2020, 7:44 AM
Mattit Yahu
Mattit Yahu - avatar