Skip to content

About

A glassmorphic typing speed test with live WPM, detailed character stats, and persistent history — built in pure HTML, CSS & JS.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✦ TYPING SPEED

A glassmorphic typing speed test with live WPM, detailed stats, and persistent history — built in pure HTML, CSS & JS.


HTML CSS JavaScript No Dependencies Local Storage


Live WPM · Accuracy · Mistakes · Character stats · Full history log



✦ Features

⚡ Live Stats While You Type

Three live counters update in real time as you type — no waiting until the end to see how you're doing.

Counter Updates
WPM Every second, based on correct characters
Accuracy Every keystroke
Time Left Countdown from selected duration

A smooth gradient progress bar fills across the top as time runs out.

🎯 Four Time Modes

Switch between test durations before starting:

15s  ·  30s  ·  60s  ·  120s

📊 Detailed Results Screen

When the timer hits zero, a full results card animates in:

Stat What it means
WPM Words per minute (correct chars ÷ 5 ÷ minutes)
Accuracy % of keystrokes that were correct
Time How long the test actually ran
Correct chars Total correctly typed characters
Wrong chars Total incorrectly typed characters
Total chars Every keystroke made
Words Number of words completed

📋 Persistent History

Every completed test is saved to localStorage. The history panel shows your last 20 runs with WPM, accuracy, time, mistakes, and timestamp — so you can track your improvement over time.

✨ Typing Experience

  • Random words from a 200-word pool, shuffled every test
  • Each letter colours green when correct, red when wrong
  • Blinking purple cursor follows your position
  • Words scroll smoothly as you advance through the test
  • Backspace deletes the last character
  • Tab instantly restarts the test
  • Space advances to the next word

✦ Getting Started

No build step. No npm. No config. Just open a file.

git clone https://github.com/heyfaraninam/Typing-Speed.git
cd typing-speed
open index.html

✦ File Structure

typing-speed/
├── index.html     # Layout, typing area, results card, history panel
├── styles.css     # Glassmorphism, letter colours, animations, history rows
└── script.js         # Word generation, timer, input handling, stats, localStorage

✦ Keyboard Shortcuts

Key Action
Any key Start the test
Space Advance to next word
Backspace Delete last character
Tab Restart test instantly

✦ How WPM is Calculated

The standard WPM formula used by all major typing tests:

WPM = (correct characters ÷ 5) ÷ elapsed minutes

Dividing by 5 converts characters to "words" — the industry standard definition of one word being 5 characters.


✦ Browser Support

Browser Support
Chrome 76+ ✅ Full
Firefox 103+ ✅ Full
Safari 14+ ✅ Full
Edge 79+ ✅ Full

✦ Part of a Series

This is part of a growing collection of beautiful, zero-dependency web apps:

Project Description
Calculator Glassmorphic calculator with 4 themes, scientific mode & history
Notes Glassmorphic notes app with tags, pinning & instant search
Weather Glassmorphic weather app with real-time data & 5-day forecast
Typing Speed This project

✦ License

MIT — free to use, modify, and ship.


Made with care · pure HTML · CSS · JS · no frameworks needed

About

A glassmorphic typing speed test with live WPM, detailed character stats, and persistent history — built in pure HTML, CSS & JS.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages