A simple and interactive Word and Character Counter web app. This tool counts the characters and words in real-time as the user types into a text area. The project includes responsive HTML, CSS for a clean design, and JavaScript for counting logic.
- Real-time Counting: Counts both words and characters as the user types.
- Dynamic Display: Updates word and character count live on the screen.
- Responsive Design: Styled with CSS to look great on various screen sizes.
- HTML for structure
- CSS for styling and responsive design
- JavaScript for functionality
- Clone the repository:
git clone https://github.com/yourusername/word-counter.git
- Navigate into the project directory:
cd word-counter
- Open index.html in your browser to see the word counter in action.
The JavaScript code listens for the keypress event on the text area:
Characters Count: Updates dynamically based on the length of the input text. Words Count: Counts words based on spaces between them, trimming extra spaces.
Feel free to reach out if you have any questions or suggestions!
Made with ❤️ by Aditya Dhiman
