/Character-Counter

A simple web application that demonstrates real-time character-counting in an input field using vanilla javascript. When users type in the input field and click the button, it dynamically updates to display the number of characters entered.

Primary LanguageCSS

Character Counter

Challenge Description

Character Counter is a simple web application built with HTML, CSS, and JavaScript. It allows users to input text into a field and dynamically displays the number of characters entered in real-time.

Preview

Character Counter Preview

Live Demo

Check out the live demo here.

Prerequisites

Prerequisites

  • Basic understanding of HTML, CSS, and JavaScript.
  • A modern web browser (e.g., Chrome, Firefox, Safari) that supports HTML5 and CSS3.

Learning Points

  • String Length Property
  • Accessing Input Values
  • Updating the DOM

Tools Used

  1. VS Code (You can use any other code editor)
  2. A modern web browser (Chrome, Firefox, Safari, or Edge).
  3. Access to an internet connection for resource imports.

Contributing

If you'd like to contribute to this challenge:

  1. Fork the repository on GitHub.
  2. Clone your forked repository to your local machine:
  3. git clone https://github.com/Yashi-Singh-1/Character-Counter.git
  4. Create a new branch for your feature or bug fix:
  5. git checkout -b feature-name
  6. Make your changes and commit them with a clear and concise message:
  7. git commit -m 'Add new feature or fix'
  8. Push your changes to your forked repository:
  9. git push origin feature-name
  10. Open a pull request to the main repository.
  11. Ensure your pull request includes a detailed description of your changes.
  12. Respond to any feedback or questions during the review process.

We welcome improvements, bug fixes, and additional features that can enhance this Character Counter.