JSFiddle - React, Tailwind, and code Playground

by anilkamath87

HTML

<script src="https://github.com/janl/mustache.js/raw/master/mustache.js"></script>
<div id="123">
</div>

JavaScript

$.ajax(type:"GET",url:'http://www.car2go.com/api/v2.0/vehicles',data:{loc:'austin',format:'json'},success:templateAndRender,type:"jsonp");

var yourTemplate="{{#placemarks}} \
    Address: {{address}}\
    {{/placemarks}}";

function templateAndRender(jsonResponse)
{
  var html=Mustache.to_html("yourTemplate",jsonResponse);
  $('#123').html(html);
}