g) {
        startTimer()
      }
    })

    pauseButton.addEventListener('click', () => {
      pauseTimer()
    })

    function pauseTimer() {
      clearInterval(interval)
      isTimerRunning = false
    }

    function startTimer() {
      isTimerRunning = true
      message.textContent = ''

      interval = setInterval(() => {
        --totalSeconds
        let currentMinutes = String(Math.floor(totalSeconds / 60)).padStart(2, '0')
        let currentSeconds = String(totalSeconds % 60).padStart(2, 