How can I count up in jQuery in a for each function by just 0.5 instead of 1?
$(".item").each( function(i) {
console.log(i+0.5);
});
At the moment this goes up by .5 + 1. Can I only jump up by 0.5 each time? The logic as to why I want to do this is because I'm setting an animation delay for each item within a certain element. So for each item I want to increase the delay via this function.