← All projects

Vocabulary Typing Test

Live

Type out dictionary definitions and see your words per minute. Runs right here on this site.

Documentation last updated November 9, 2026

  • JavaScript
  • HTML
  • CSS

Typingtest is an interactive typing-practice application that presents users with definitions and measures how quickly and accurately they type them. Each round displays a definition from a randomly selected word, tracks keyboard input, counts incorrect characters, calculates words per minute, and maintains an average WPM across completed rounds. Users can press Escape to skip to a new word.

The project is built with React and Create React App. React hooks manage the current word, definition, timer, typed characters, errors, round results, and average WPM. Axios requests definitions from the Dictionary API, while a custom event-listener hook captures keyboard input globally. Styled Components defines the application layout and visual states for completed, active, and remaining characters, and the WPM calculation uses elapsed time and typing accuracy to produce each score.