JSFiddle - React, Tailwind, and code Playground
by sunnyhong
HTML
<div id="content">
<h1>About jQuery's Job </h1>
</div>
JavaScript
function readyFunc() {
$.ajax({
url: 'https://jobs.github.com/positions.json',
search: 'aaaaaaaaaaaaaaaaaaaaaa',
dataType: 'jsonp',
/* success: function(result){} */
}).done((result) =>
{
result.map((el) =>
{
$('#content').append(`
<ul>
<h2>${el.title}</h2>
<li>location : ${el.location}</li>
<li>type : ${el.type}</li>
</ul>
`);
});
});
}
$(document).ready(readyFunc);