What does adding height option does?


#1

What is the use of adding height css element in code, I can see the changes , but I cannot understand , what its actually doing.

.jumbotron{
height:500px;    
background-image:url('https://goo.gl/04j7Nn');
}

#2

it's obvious adding height is to make your class selector (the .jumbotron) section tobe 500px height, if its not affecting thats mean you wrong at the selector .jumbotron is a class selector & #jumbotron is id selector. Look at html code is it a class or id or something else.