Weather example

Partial - needs a callback

by mlhDevelopment

HTML

<div id="goeshere">

</div>

JavaScript

$(function() {
	$.ajax({
  	url: 'http://api.openweathermap.org/data/2.5/weather?q=Charlotte,us&appid=77078708ff0a7f9c263703eae4c62550'
  }).then(function(data) {
  	$("#goeshere").text(data.weather[0].main);
  
  });
})