A stylish and fun timed typing game with user input for time limit.
Link to project: https://gk-speedtyping.netlify.app/
Tech used: HTML, CSS, JavaScript, React
Foundational game code is written as a reusable custom hook. useEffect hook handles setTimout function which changes timeRemaining state every second. useRef is used to focus on the typing input field the moment the game starts so user can start typing immediately. User input for time length displays when game is not in progress.