2\4 Navigation


#1

English is not my native language. Tell me what should I do? How should look like my code?


#2

Let's look at step 1.

Make a new CSS rule that selects all li elements nested inside <div class="nav">..</div>

By this section you will have made many new CSS rules - yes? At what point there do you have doubts with this one?


#3

what to do next? i dont know what code i will put. please help


#4

.nav h1 {
airbnb logo display: inline;
browse display: inline;
sign up display: inline;
log in display: inline;
help display: inline;
}
is this correct? stuck


#5

got it!!! lols
thanks


#6

Are you still stuck here @kennethray?


#7

i also get stuck on step 2/4 nav. i don t know which to put, although tried the code below but not any effects

.nav h1 {
airbnb logo display: inline;
browse display: inline;
sign up display: inline;
log in display: inline;
help display: inline;
}


#8

That is your selector. Look closely at what you are telling to select. You are saying "Select all of the h1 elements in the .nav div." The trouble is that this exercise isn't expecting you to select the h1 elements, you don't even have any h1 elements in your nav div. -- Do you see what I mean? The exercise is asking you to select your li elements, not h1 elements so fix that first.

Next,

That is not a valid CSS property. airbnb logo is not a CSS property. Out of those three words only display is CSS property.

Any questions, just ask!


#9

tks guys i will try again


#10

well done!
i put the code
.nav li{
display: inline;
}
tks for helping me..


#11

yeah i was stuck too but this helped thanks


#12

Hi can someone help me? im stuck


#13

Post your code -- tell us what the problem is, someone will help.