JSFiddle - React, Tailwind, and code Playground

by lasha

HTML

<html>
    <body>
<div id="dump" />
    </body>
</html>

JavaScript

$.getJSON('http://gdata.youtube.com/feeds/api/videos?v=2&alt=jsonc&author=wesbos', function(d) {
    var results = (d['data']['items']);
    var content = [];
    
    $.each(results, function(i,el) {
        console.log(el);
        content += "<p>" + i + " " + el["category"] + "</p>";
    });
   
$('body').append(content);
    
});