Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/balakrish001/character-counter-reactjs

Character Counter -The app should initially display an empty input and a "No User Inputs" view. Upon adding a non-empty input, it should display the input in the list, show the character count, and reset the input field
https://github.com/balakrish001/character-counter-reactjs

html-css-javascript reactjs uuid-generator

Last synced: 16 days ago
JSON representation

Character Counter -The app should initially display an empty input and a "No User Inputs" view. Upon adding a non-empty input, it should display the input in the list, show the character count, and reset the input field

Awesome Lists containing this project

README

        

The goal of this coding exam is to quickly get you off the ground with **Lists and Keys** in React JS.

### Refer to the image below:




Character Counter


### Design Files

Click to view

- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - No User Inputs View](https://assets.ccbp.in/frontend/content/react-js/character-counter-no-user-inputs-lg-output.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px)](https://assets.ccbp.in/frontend/content/react-js/character-counter-lg-output.png)

### Set Up Instructions

Click to view

- Download dependencies by running `npm install`
- Start up the app using `npm start`

### Completion Instructions

Functionality to be added

The app must have the following functionalities

- Initially, the value of the user input element should be empty and [No User Inputs View](https://assets.ccbp.in/frontend/content/react-js/character-counter-no-user-inputs-lg-output.png) should be displayed.
- When a non-empty value is provided in the user input element and the **Add** button is clicked,
- A new user input item should be added to the list of user inputs.
- The count of characters of the value provided in the user input element should be displayed.
- The value inside the user input element should be updated to its initial value.

### Important Note

Click to view


**The following instruction is required for the tests to pass**

- Use the `uuid` package to generate the unique id.

### Resources

Image URLs

- https://assets.ccbp.in/frontend/react-js/no-user-inputs-img.png alt should be **no user inputs**

Colors


Hex: #ffc533

Hex: #334155

Hex: #0f172a

Hex: #ffbf1f

Hex: #272c47

Hex: #ffffff

Hex: #475569

Hex: #1e293b

Font-families

- Roboto