Choose 4th list item change color to gray

/ Published in: jQuery
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. $('li:nth-child(4)').css('background', 'gray');


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.