freecodecampタスクを見つけようとしていますが、youtubeチュートリアルhttps://www.youtube.com/watch?v=XZXg_fuyYnI&t=1385sを追跡することさえできません。 助けてください、このコードの何が間違っていますか?ローカル天気アプリFreeCodeCamp
var API_KEY = "xxxxxxxxxxxxxxxxxxxxxx";
$(function() {
var loc;
$.getJSON('http://ipinfo.io', function (d) {
console.log("assigning the data...")
loc = d.loc.split(" , ");
console.log(loc);
$.getJSON('http://api.openweathermap.org/data/2.5/weather?lat=' + loc[0] + '&lon=' + loc[1] + '&APPID=' + API_KEY, function (wd) {
console.log("got the data ,", wd);
})
})
})
何か問題がありますか? – DanilGholtsman
私は今のところ
DanilGholtsman