Need help


#1

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

its telling me, Set the height of the

..
to 500px

#2

wrong forum, question unclear. Set the height of what to 500px? your jumobtron? you currently set your links jumbotron to that


#3

Set the height of the div class="jumbotron">.. to 500px


#4

if you want to do that, why did you use .jumbotron a and not .jumbotron as css selector>


#5

cause thats what the instructions told me to do


#6

Make a new CSS rule that uses the class selector .jumbotron
Set the height to 500px
Set the background-image to url('https://goo.gl/04j7Nn')
those were the instructions


#7

have you resolved it?


#8

yes thank you i realized i didnt need the a element
but im confused why not


#9

oops, i failed to reply. if you use a as css selector you target this html element:

<a></a>

which we call a link (link often has a href attribute: <a href="http://google.com/>google</a>), if you click on it, it will take you to google. now you have a div with class jumbotron:

<div class="jumbotron></div>

now if you do:

.jumbotron { height: 500px }

this will set your div with class .jumbotron to height: 500px; if you do:

.jumbotron a { height: 500px }

this will set the link inside .jumbotron to 500px in height


#10

thank you so much :grinning: