Skip to content

A responsive and user-friendly textarea component that tracks character input in real time, enforces a 200-character limit, and includes a clear button to reset the message. Built with basic HTML, CSS, and JavaScript.

Notifications You must be signed in to change notification settings

Lokistark/Live-Message-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Smart-Message Box with Live Character Counter

This project is a simple and responsive message input component built with HTML, CSS, and JavaScript. It features a live character counter that updates in real time as the user types, enforces a maximum character limit, and displays a warning when the limit is reached. A Clear button allows users to reset the input field and counter instantly.

πŸ“Έ Preview

Project Screenshot The preview shows a clean message box with a character counter and a clear button, styled with rounded corners and a soft gradient background.

πŸš€ Features

  • Real-time character tracking (e.g., 150/200 characters)
  • Maximum character limit enforcement (200 characters)
  • Warning message when limit is exceeded
  • Clear button to reset the input and counter
  • Responsive and modern UI with smooth focus effects
  • Built using only basic web technologies β€” no frameworks required

πŸ“š Technologies Used

  • HTML5
  • CSS3 (with modern styling and layout)
  • Vanilla JavaScript (DOM manipulation and event handling)

πŸ“¦ How to Use

🎯 Use Cases

  • Form validation demos
  • Beginner JavaScript practice
  • UI component for contact forms or feedback boxes
  • Portfolio showcase for DOM and styling skills

πŸ”— Project Files & Source Code

  • You can view the complete project files and source code on GitHub: https://github.com/Lokistark/Live-Message-Counter.git

  • Smart-Message Box with Live Character Counter (Webpage) - https://lokistark.github.io/Live-Message-Counter

  • Feel free to explore the simple and responsive message input component built with HTML, CSS, and JavaScript that features a live character counter that updates in real time as the user types, enforces a maximum character limit, and displays a warning when the limit is reached and a clear button allows users to reset the input field and counter instantly.

About

A responsive and user-friendly textarea component that tracks character input in real time, enforces a 200-character limit, and includes a clear button to reset the message. Built with basic HTML, CSS, and JavaScript.

https://lokistark.github.io/Live-Message-Counter/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published