3 variable by modifying


This code does not work. looks like it should.// Write your jQuery code on line 3!

$(document).ready(function() {
var $target= $('ol li:nth-child)(4)');




Hi Dkmixer,

You need to remove the extra closing parenthesis ()) right before (4) on line 3 :)


Oh thanks so much. I was going crazy. I did see that others had the same code.


$(document).ready(function() {
var $target = $('ol li:nth-child #4');

It doesnt work



nth-child works like this:


Next time please create a new topic instead of using someone else's :)