Project Broadway, Objective 3


#1

I cant seem to get my background image to appear regardless of what I use for height and width?
Here is my code

.jumbotron {
background-image:url 'http://s3.amazonaws.com/codecademy-content/projects/broadway/bg.jpg';
height:100%;
width:100%;
}


#2

the url should be between brackets:

background-image:url('http://s3.amazonaws.com/codecademy-content/projects/broadway/bg.jpg');

#3

Still no luck. This is what I did.

.jumbotron {
background-image: url ('http://s3.amazonaws.com/codecademy-content/projects/broadway/bg.jpg');
height:100%;
width:100%;

Wrong brackets perhaps?


#4

No, they are the right brackets, i haven't done the pro exercises yet, anyway, i made a bin and it seems to work. The problem with height in percentage is that is 100% the height the parent. So, if jumbotron is a direct child of body, make sure html and body do have a height


#5

Ok. I gave my html, body a H&W of 100%. and backed my bracket into my url "url(" ...... that seemed to work.
Thanks.