Search⌘ K

Selecting Cards

Explore how to implement card selection functionality using ES6 in JavaScript. This lesson guides you through toggling task card states, managing events with destructuring, and maintaining clean, maintainable code by separating concerns in a practical interview exercise.

We'll cover the following...

Exercise:

Make your cards selectable by clicking on them. Whenever you select a card, you have to deselect all other cards.

Source code:

Use the PomodoroTracker5 folder as a starting point. The end result is in PomodoroTracker6.

...