
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
튜터님이 하시는대로 따라서 왔지만 검사 결과값이 산출되지 않습니다.
방금 전에 즉문즉답에 질문을 달았는데 코드를 다르게 적으라고 하셔서요.
이유를 잘 모르겠고,,, 왜 저랑 튜터님이랑 코드는 같지만 다르게 나오는지도 이해를 못하겠어요


작성한 코드 및 에러 메세지
<script>
// 자동으로 실행하는 부분: $(document).ready(function ()
$(document).ready(function () {
fetch("http://spartacodingclub.shop/sparta_api/weather/seoul").then(res => res.json()).then(data => {
console.log(data['temp'])
$('#temp').text(data['temp'])
})
})
fetch("http://spartacodingclub.shop/web/api/movie").then((res) => res.json())
.then((data) => {
});
let rows = data['movies']
rows.forEach((a) => {
console.log(a)
})
</script>
