I can't make it work, btn is a string here but 'licz' is a variable, I've tried anything, could someone help me and tell what is wrong with that ? Licz is a counter from 1 to 100, i want that line to give something like
btn1, btn2 etc
$('#slider').append("<div id='btn ' + \'licz><i class='fa fa-circle fa-2x' aria-hidden='true'></i></div>");
Can someone show me the proper way to do this ? I would be gratefull