Posted By

epyyjop on 04/02/12


Tagged

list choose


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrockSamsom


Choose 4th list item change color to gray


 / Published in: jQuery
 

URL: http://tutsplus.com/lesson/jquery-30-days-quiz-1/

Choose the 4th list item and change the background color to gray

  1. $('li:nth-child(4)').css('background', 'gray');

Report this snippet  

You need to login to post a comment.