The idea of this challenge is to prove some very basics skills about JavaScript and React.
Here, you will find all the instructions needed for this mini challenge.
Extra requirements:
- You should be able to insert upper or lower case characters and match a string
- You should ignore starting and ending space characters
In this Codesandbox, you have a complete environment with all you need to run your app. You just have to follow the instructions below:
- Create an input on the App.js component.
- Create state for App component to manage the input value.
- Use onChange event from input to update the state.
- Insert logic into App.js to convert pokemons into CardItems, filtering the results with the input's value.
Notes:
- CardItem component receives (name: string, sprite: string)