/ Published in: jQuery

Choose the 4th list item and change the background color to gray
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('li:nth-child(4)').css('background', 'gray');
URL: http://tutsplus.com/lesson/jquery-30-days-quiz-1/
Comments
