jQuery loop print html ()
$('.victim').html(''); //clear the victim if needed
$('.victim').each((index, element) => {
var htmlString = '<div class="someclass">';
htmlString += '<span>' + element.text + '</span>';
htmlString += '</div>';
$('.victim').append(htmlString); //add the current content to existing one
}); //end each
Said HR