tion clearActive() {
      result.textContent = ''
      const activeItem = document.querySelector('.active')

      if (activeItem) {
        activeItem.classList.remove('active')
      }
    }

    function create(num) {
      return new Promise((resolve) => {
        setTimeout(() => {
          clearActive()

          const item = document.getElementById(num)
          item.classList.add('active')

          result.textContent = `console.log(${num} * ${num})`

          resolve()
        }, SECOND * nu