Skip to content

Pidsvynok/react_list-of-goods-js

 
 

Repository files navigation

React list of goods

Implement the ability to reorder the goods with the given buttons.

Here is the working version

  1. Sort alphabetically button should sort the goods alphabetically.
    • remove is-light class from the button when this order is applied;
  2. Sort by length button should sort the goods by length.
    • remove is-light class from the button when this order is applied;
  3. Reverse button changes the current order to the opposite one.
    • it should work together with any sorting;
    • remove is-light class from the button when goods are reversed;
    • the second click should show goods in the direct order;
  4. Reset button should show the goods in the initial order.
    • it should be visible only if goods are not already in the original order;

Instructions

  • Install Prettier Extention and use this VSCode settings to enable format on save.
  • 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • HTML 2.2%
  • SCSS 0.2%