Welcome to the Typing Test project! This application helps you practice and improve your typing skills by providing randomly selected paragraphs to type. It tracks your typing speed (WPM - Words Per Minute), the number of mistakes, and the number of characters typed correctly (CPM - Characters Per Minute).
index.html
: The main HTML file that contains the structure of the typing test application.script.js
: The JavaScript file that contains the logic for the typing test, including loading paragraphs, tracking typing progress, and calculating WPM and CPM.style.css
: The CSS file that contains the styles for the typing test application.
- 📝 Randomly selects a paragraph for the user to type.
- ⏱️ Tracks the time left, mistakes, WPM, and CPM.
- ✅ Highlights correct and incorrect characters as the user types.
- 🔄 Allows the user to reset the test and try again.
- Clone the repository or download the project files.
- Open
index.html
in a web browser. - Start typing the displayed paragraph in the input field.
- The application will track your progress and display your typing speed, mistakes, and characters typed correctly.
- Click the "Try Again" button to reset the test and load a new paragraph.
The HTML file (index.html
) contains the structure of the typing test application, including the input field, the paragraph to type, and the result details.
The CSS file (style.css
) contains the styles for the typing test application, including the layout, colors, and animations.
The JavaScript file (script.js
) contains the logic for the typing test application. Key functions include:
loadParagraph()
: Loads a random paragraph from theparagraphs
array and displays it.initTyping()
: Handles the typing logic, including tracking the typed characters, mistakes, and updating the WPM and CPM.initTimer()
: Handles the countdown timer for the typing test.resetGame()
: Resets the typing test and loads a new paragraph.
This project is licensed under the MIT License. See the LICENSE file for details.
- The paragraphs used in this project are fictional and created for the purpose of this typing test application.
Enjoy improving your typing skills! 🚀