Instructions

  • Render the cheapest 5 items on landing sorted by price
  • A 'View All' button should be available that reveals all the items
  • Once all items are shown a 'Collapse' button should be shown that goes back to the cheapest 5 items and the 'View all' button should be shown again
  • ES6 or Typescript using functional components must be used
  • The answer must be a full github public repo that can be cloned then installed and run by executing 'npm start' or 'yarn start'
  • Feel free to add in any 3rd party libraries
  • Feel free to make it look great using any responsive styling framework
  • Feel free to write tests and add anything else that you feel adds value