JSFiddle - React, Tailwind, and code Playground
HTML
<ul id="products"></ul>
JavaScript
$(function() {
var data = [{ Name: 'test1', Price: 1000}, { Name: 'test2', Price: 25}];
$.each(data, function (key, val) {
debugger;
// Format the text to display.
var str = val.Name + ': $' + val.Price;
// Add a list item for the product.
$('<li/>')
.text(str)
.appendTo($('#products'));
});
});