
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
<script>
function sorry() {
alert('아직 만드는 중이에요');
}
$(document).ready(function(){
$.ajax({
type: "GET",
url: "http://spartacodingclub.shop/sparta_api/weather/seoul",
data: {},
success: function (response) {
let temp = response['temp']
let temp_html=<span>${temp}</span>
$('#temp').text(temp)
}
})
});
</script>
</head>
<body>
<div class="mytitle">
<h1>롤 챔피언 덕질 기록</h1>
<p>현재기온 : <span id = "temp">00.00도</span></p>
</div>
