Project: Innovation Cloud Problem with code


#1

I'm on step #2. I followed the instructions. But my CSS code isn't showing results. Here is the CSS code:

.nav {
background-color:black;
}

.nav ul li {
background-color: black;
color: white;
display: inline-block;
}

Thanks,
Patricia


#2

can u post the html as well?


#3

What are you trying to achieve?


#4

Nevermind. I figured it out. The code was find, except there was a curly brace (in another part of the code) that was the wrong way. Once I fixed it, everything fell into place.

Thanks.


#5

That's why you need to post your full code next time :wink: