
function q1() {
$.ajax({
type: "GET",
url: "http://spartacodingclub.shop/sparta_api/seoulair",
data: {},
success: function(response) {
let rows = response['RealtimeCityAir']['row']
for (let i = 0; i < rows.length; i++) {
let gu_name = rows[i]['MSRSTE_NM']
let gu_mise = rows[i]['IDEX_MVL']
let temp_html = '<li>${gu_name} : ${gu_mise}</li>'
$('#names-q1').append(temp_html)
}
}
})
}
이렇게 뜸니다. 어디가 문제인가요 표시좀해주세요
