JSFiddle - React, Tailwind, and code Playground

HTML

<div id='results-holder'>
    <table id='results-list'>
        <tr>
            <th>
                number
            </th>
            <th>code</th>
        </tr>
    </table>
</div>

JavaScript

var num = function() {
    this.code = 123;
    this.number = 123;
}
var data = {
    results:[new num(), new num(),new num()]
};
$(document).ready(function(){
    $.each(data.results, function() {
        $('#results-list').append("<tr><td rel='" + this.number + "'>" + this.code + "</td><td>" + this.number + "</td></tr>");
    });
});