- Replace
<your_account>
with your Github username in the DEMO LINK - Follow the React task guideline
- Render a header (
h1
) initially sayingSelected 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.