JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script>
jQuery(document).ready(function($) {
$.ajax({
url : "http://api.wunderground.com/api/be8f469c59c3cb00/geolookup/conditions/q/INDIA/New_Delhi.json",
dataType : "jsonp",
success : function(parsed_json) {
var location = parsed_json['location']['city'];
var temp_c = parsed_json['current_observation']['temp_c'];
document.write("RAINCHECK!!! Current temperature in " + location + " is: " + temp_c + "° C.<br><br> Oh, and please don\'t steal my API key. :)");
}
});
});
</script>