Uncaught (in promise) TypeError: more.forEach is not a function콘솔창에 이런 오류가 뜹니다ㅠㅠ
document.getElementsByClassName('more')[0].addEventListener('click',function (){
fetch('https://codingapple1.github.io/js/more1.json')
.then(more=>{more.json()
more.forEach((a1,i)=>{
let card = `<div class="col-sm-4">
<img src="https://via.placeholder.com/600" class="w-100">
<h5>${more[i].title}</h5>
<p>가격: ${more[i].price}</p>
</div>`
document.getElementsByClassName('container')[0].insertAdjacentHTML('afterend', card)
})
})
})