This is the code I'm having trouble with :
for (var i; i < 10; i++) {
if (('.ph' + i).css('visibility') === 'hidden') {
('.art' + i).css({'visibility':'visible'});
break;
};
};
I'm wondering why I can't add the integer to the class name this way, and how I could proceed to get that result.