Skip to content

aliceblunt8/react_goods-selector

 
 

Repository files navigation

React Goods selector

Task

  • Render a header (h1) initially saying Selected good: -
  • Render a list of goods.
  • Implement ability to select a good by clicking on it. Use buttons styled as a plain text with cursor: pointer.
  • Add a special class to the selected good in the list (e.g. highlight it with a yellow color).
  • The header should show the name of the selected good
  • Add clear button (X) next to the header to clear the selection
  • (*) Implement multiple selection. A button click with ctrl pressed should toggle selection of a clicked item.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.3%
  • HTML 27.7%
  • CSS 2.0%