Hello everyone, Nth-child odd is not working for me, didn't get the error can anyone help please ,

odd.

try removing the space between li and :nth so its reads like:

ul li:nth-child(odd) { background-color: lightblue; }
2 Likes