I understand the solution with li:nth-child(4). But what if I had several different lists with at least 4 list items each? Wouldn't that eliminate the 4th li from each list?
I tried to assign an id to the proper list item in html:
$target = $('bogus');but that didn't do anything. Probably a syntax error - what am I doing wrong?