Skip to content

Volodymyr-Mykychak/react_movies-list-filter-js

 
 

Repository files navigation

Movies list - Filter

The Appcontains a MoviesList and a search field. Implement filtering using a useState hook.

Here is the working version

  • On every change save the input value into the query;
  • create a visibleMovies variable containing filtered movies;
  • check if movie.title or movie.description contains query;
  • ignore leading and trailing spaces;
  • search should be case insensitive (Inception can be found by entering inc or Inc or even iNC).

Instructions

  • Implement a solution following the React task guideline.
  • Open one more terminal and run tests with npm test to ensure your solution is correct.
  • Replace <your_account> with your Github username in the DEMO LINK and add it to the PR description.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.1%
  • SCSS 7.2%
  • HTML 3.7%