JSFiddle - React, Tailwind, and code Playground
by asifrc
HTML
<input type="text" class="integers" value="11">
<input type="text" class="integers" value="12">
<input type="text" class="integers" value="13">
<input type="text" class="integers" value="14">
<input type="text" class="integers" value="15">
<div id="dv"></div>
JavaScript
$('input.integers').each( function(index) {
var txt = "<span>";
txt += $(this).val();
txt += "</span><br>";
$('#dv').append(txt);
});