
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
멘토님 강의 그대로 따라했는데 데이터를 받지 못하네요. 무슨 문제 일까요?

작성한 코드 및 에러 메세지
<script>
function q1() {
fetch("http://spartacodingclub.shop/sparta_api/seoulbike")
.then((res) => res.json())
.then((data) => {
let rows = data["getStationList"]["row"];
$("names-q1").empty();
rows.forEach((a) => {
let name = a["stationName"];
let rack = a["rackTotCnt"];
let bike = a["parkingBikeTotCnt"];
let temp_html = `<tr>
<td>${name}</td>
<td>${rack}</td>
<td>${bike}</td>
</tr>`;
$("names-q1").append(temp_html);
});
});
}
</script>
