code

useInputHandlers

Takes control of an input, offering several handlers in return. It also adds validation on its state and mimics form submission.
How fast do you type? Start the game and type the 5 sets of words that appear above the input. Hit "Enter" to submit each one.
This example input autofocuses when game starts and blurs when it ends. It does not submit if empty, clears on submit, caps at 20 characters, and tells you when you typed correctly.

Practice mode