/ Published in: jQuery
![](/img/icon_sav.png?v3)
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
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)