Select all checkboxes
Easy
52
77.4% Acceptance
In this coding challenge your task is to finish the CheckboxList
component. We have already styled it for you. Your task is to implement the functionality to both:
Select the individual checkboxes.
Select all checkboxes when the Select All
button is clicked.
Instructions
- You don’t need to worry about styling your application as we have already done it for you. But if you wish to update the styles, you can use
styled-components
,inline style
ortailwindcss
. - Do not edit the
data-testid
attributes.
Hints
- You should write two handler functions, one to select individual checkboxes, and the second to select all of them.