Hello Fellas i am trying to use nth-child in my code but its not working following is my code
HTML
<ul class="colour" >
<li>one</li>
<li>two</li>
<li>three</li>
<li>one</li>
<li>two</li>
<li>three</li>
</ul>
jQuery
$(document).ready(function(e) {
$('.colour ul li:nth-first-child(1)').css('color','pink');
});
I don't know why its not working plz help guys