JSFiddle - React, Tailwind, and code Playground
by chanonroy
HTML
<body>
<ul class="openings">
<li> test </li>
</ul>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
</body>
JavaScript
$(function (){
var $orders = $('#orders');
$.ajax({
type: "GET",
url: "http://www.omdbapi.com/?t=gods+of+egypt&y=&plot=short&r=json",
success: function(data) {
$.each(data, function(i, data) {
$orders.append('<li> my order </li>');
})
}
});
});