JSFiddle - React, Tailwind, and code Playground
by eTiger13
JavaScript
//loop through #answers.children and update .answer_bar && h1.right
var responseHTML;
$response.find('h1.right').each(function()
{
responseHTML += $(this).html();
});
$('#answers').children().each( function(){
$(this).find('h1.right:first').html(responseHTML);
});