Select all checkboxes

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.

image

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 or tailwindcss.
  • 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.
Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser