JSFiddle - React, Tailwind, and code Playground

JavaScript

var query = 'select * from data.html.cssselect where url="http://www.chucknorrisfacts.com/chuck-norris-top-50-facts" and css=".field-content a"';

var yqlAPI = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent(query) + ' &format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=?';

$.getJSON(yqlAPI, function(r){
    console.log('Chuck Norris Facts:');
    $.each(r.query.results.results.a, function(){ 
    alert('1');
        console.log('----------');
        console.log(this.content);
    });
});