{"size": 1140, "ext": "js", "max_stars_repo_path": "public/js/script.js", "max_stars_repo_name": "FirmanNoob/TaskApp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/js/script.js", "max_issues_repo_name": "FirmanNoob/TaskApp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/js/script.js", "max_forks_repo_name": "FirmanNoob/TaskApp", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.8108108108, "max_line_length": 76, "alphanum_fraction": 0.4192982456}
// $(document).ready(function () {

//     semuaData();

//     function semuaData() {
//         $.ajax({
//             url: 'https://api.kawalcorona.com/indonesia',
//             success: function (data) {
//                 try {
//                     var json = data;
//                     var kasus = data.positif;
//                     var meninggal = data.meninggal;
//                     var sembuh = data.sembuh;

//                     // $('#data-kasus').html(kasus);
//                 } catch {
//                     alert('Error');
//                 };
//             }
//         });
//     };

// })
$.getJSON('https://api.kawalcorona.com/indonesia', function (data) {
    // let menu = data.menu;
    $.each(function (i, data) {
        $('#camping').append(`
        <div class="animated flipInY col-lg-6 col-md-6 col-sm-6">
        <div class="tile-stats">
          <div class="icon"><i class="fa fa-caret-square-o-right"></i></div>
          <div class="count">`+ data.name + `</div>
          <h3>`+ data.name + `</h3>
          <p>Lorem ipsum psdea itgum rixt.</p>
        </div>
         </div>`)
    });
});