 8]
    const container = document.getElementById('container')
    const result = document.getElementById('result')
    const startButton = document.getElementById('start')
    let isActive = false

    // Создаем элементы с помощью forEach
    numbers.forEach((num) => {
      const itemElement = document.createElement('div')
      itemElement.classList.add('item')
      itemElement.textContent = num
      itemElement.id = num

      container.appendChild(itemElement)
    })

    func