2/10 Problem with nav


#1

So I write the code in main css just like the instructions say but it doesn't work.
.nav a {
color: #5a5a5a
font-size:11px
font-weight:bold
padding-bottom:14px
padding-left:10px
padding-right: 10px
padding-top: 14px
text-transform:uppercase
}
I clicked to see the hint and it's the same code but with different colors. My nav is red but in the solution it;s white.
Any help here?


#2

add semicolons so it knows where the line of code ends

.nav a {
 color: #5a5a5a;
 font-size:11px;
 font-weight:bold;
 padding-bottom:14px;
 padding-left:10px;
 padding-right: 10px;
 padding-top: 14px;
 text-transform:uppercase;
}

#3

Oh yes, you 're right.
I forgot about them . It works now. Thank you :smile: