A lightweight React.js application designed to count the number of characters in a given word or sentence. This project serves as a demonstration of clean React practices and usage of key libraries.
This project was built to exhibit core React.js development skills, including component-based architecture, state management, and integration of third-party packages such as styled-components and uuid.
- React.js
- JavaScript (ES6+)
- HTML5
- Styled-components (for styling)
- UUID (for unique key generation)
- Git (for version control)
- Accepts input from the user and displays the total number of characters upon pressing "Add".
- Displays a clear error message if:
- The input field is submitted empty.
- All characters are removed after initially typing something.
- Type a word or sentence into the input box.
- Click the Add button.
- View the number of characters instantly.
- If the input box is empty or cleared, an error message will appear:
"Please enter text".
Click to view
Click to view
- Download dependencies by running
npm install - Start up the app using
npm start
Image URLs
- https://assets.ccbp.in/frontend/react-js/no-user-inputs-img.png alt should be no user inputs
Font-families
- Roboto
Colors
GitHub: @bhuvan-007-github
