Question · Svelte and SvelteKit course · Module 5: Bindings

A Group of Checkboxes

How do you bind a group of checkboxes to an array variable?

Answer options

  • bind:value={skills}
  • bind:group={skills}
  • bind:checked={skills}
  • bind:array={skills}

You can check the correct answer by solving this task in the CodeWorlds game.