Skip to content

A real-time Word and Character Counter web app that updates counts as you type. Built with HTML, CSS, and JavaScript for an interactive and responsive design.

Notifications You must be signed in to change notification settings

adityadhiman-in/word_counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Counter

alt text

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.

Features

  • 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.

Technologies Used

  • HTML for structure
  • CSS for styling and responsive design
  • JavaScript for functionality

Getting Started

  1. Clone the repository:
    git clone https://github.com/yourusername/word-counter.git
  2. Navigate into the project directory:
   cd word-counter
  1. Open index.html in your browser to see the word counter in action.

How It Works

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.

Contact

Feel free to reach out if you have any questions or suggestions!

Made with ❤️ by Aditya Dhiman

About

A real-time Word and Character Counter web app that updates counts as you type. Built with HTML, CSS, and JavaScript for an interactive and responsive design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published