JSFiddle - React, Tailwind, and code Playground

JavaScript

$.getJSON("http://query.yahooapis.com/v1/public/yql?q=select%20Name%2C%20LastTradePriceOnly%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22RHT%22%29&format=json&env=http%3A%2F%2Fdatatables.org%2Falltables.env", function(json) {
    var lastprice = json.query.results.quote.LastTradePriceOnly

    console.log(lastprice)
});