
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
강사님과 코드는 동일하게 보입니다..
다른 건 단치
row 를 mise_list 로
temp_html 을 text로
정의했을 뿐인걸요.
그런데 저는 결과가 이상하게 나오는데 이유를 알 수가 없네요 ㅠㅠ
저의 결과 페이지

강사님의 결과 페이지

파이참에서 이런 표시가 나타나는데 제가 뭘 잘못 입력한 걸까요..?

<script>
function q1() {
$.ajax({
type: "GET",
url: "http://spartacodingclub.shop/sparta_api/seoulair",
data: {},
success: function (response) {
let mise_list = response['RealtimeCityAir']['row']
for (let i = 0; i < mise_list.length; i++) {
let gu_name = mise_list[i]['MSRSTE_NM']
let gu_mise = mise_list[i]['IDEX_MVL']
let text = '<li>${gu_name} : ${gu_mise}</li>'
$('#names-q1').append(text)
}
}
})
}
</script>
