A modern, web-based speed testing application that lets you measure your clicking speed (CPS) and typing speed (WPM) in a clean, minimal interface.
This application started as a simple CPS counter and evolved into a dual-mode speed testing tool. While it's functional, there are areas that need improvement, particularly in the WPM calculation accuracy and the typing test flow.
- WPM calculation may not be entirely accurate
- Text generation system needs improvement
- Some UI elements might not update correctly
- Mode switching might require multiple attempts
- Accuracy calculation needs refinement
- Measures clicks per second and clicks per minute
- Visual click feedback with ripple animation
- Configurable time periods (5s, 10s, 30s, 1m, 5m)
- Real-time metrics display
- Measures typing speed in words per minute
- Shows words per second
- Calculates typing accuracy
- Rolling three-line text system
- Error highlighting
- Auto-starts on typing
- Choose your mode (CPS or WPM) using the navigation bar
- Select your preferred time period (5s to 5m)
- For CPS mode:
- Click "Start" and click anywhere in the click area
- See your CPS and CPM update in real-time
- For WPM mode:
- Just start typing to begin the test
- Press Enter after completing each line
- New lines will appear as you complete them
- See your WPM, WPS, and accuracy in real-time
- Main layout and structure
- Navigation bar
- Test area containers
- Metrics display grid
- Modern, dark theme styling
- Responsive layout
- Click animations
- Error highlighting for typing
- Smooth transitions and hover effects
- Mode switching logic
- Timer management
- Click counting and ripple effects
- Text generation and validation
- Real-time metrics calculation
- Event handling for keyboard and mouse
The JavaScript code is organized into several main components:
- DOM Elements: All UI element references
- State Management: Test mode, timer, and metrics tracking
- Core Functions:
updateMode(): Handles mode switchingstartTest(): Initiates the testresetTest(): Resets all metrics and UIcalculateMetrics(): Updates speed measurements
- Event Handlers:
- Click counting
- Keyboard input processing
- Mode switching
- Timer management
This project is currently in development, and there are several known issues that need to be addressed. If you're interested in contributing or want to report bugs, please:
- Contact me at: [add your email here]
- Describe the issue you've found or the feature you want to add
- If you're a developer, feel free to fork the project and submit pull requests
- Fix WPM calculation accuracy
- Improve text generation system
- Fix UI update issues
- Improve mode switching reliability
- Enhance accuracy calculation
- Clone or download the repository
- Open counter.html in a modern web browser
- No additional dependencies or setup required
Works in all modern browsers that support:
- CSS Grid
- CSS Animations
- ES6 JavaScript
- DOM Manipulation APIs
Found a bug? Want to contribute? Contact me at:
- Email: njv1901@njv.edu.pk
- Subject Line: "Clickie Speed Test - Bug Report/Contribution"
Please include:
- Browser version
- Operating system
- Steps to reproduce the issue
- Expected vs actual behavior
This project is open source and available under the MIT License.