
코드 창에서 temp_html 을 정의한 적이 없는데, 어디에다 입력을 해야 하나요..?
temp_html이 정의되지 않아서 결과값을 알 수 없다고 나와요.
콘솔 입력:
let temp_html = `<button>나는 추가될 버튼이다!</button>`;
$('#cards-box').append(temp_html);
결과:
VM1083:1 Uncaught ReferenceError: temp_html is not defined
at <anonymous>:1:22
