submit때마다 print된 구구단을 지우고 싶어요..
const inputForm = document.querySelector(".input__form"); const inputValue = document.querySelector(".input__value"); const inputShow = document.querySelector(".input__clone"); function getGugudan(event) { event.preventDefault(); const results = []; const inputNumber = inputValue.value; const data = inputNumber.split(","); var n = data[0]; var maxNumber = data[1]; inputValue.value = ""; for (var i = 1; i