         lowOrHi.textContent = 'Last guess was too low!';
        } else if (userGuess > randomNumber) {
          lowOrHi.textContent = 'Last guess was too high!';
        }
        guessField.value = '';
        guessCount = guessCount + 1;
      } else {
        lastResult.textContent = '!!!GAME OVER!!!';
        lowOrHi.textContent = '';
        setGameOver();
      }

    }

    let resetButton;

    function setGameOver() {
      guessField.disabled = true;
      guessSubmit.disabled = true;
      res