Kanban Board
A Trello-style Kanban board is a visual project management tool that uses a board divided into columns (lists) to represent different stages of a workflow. Build a simple Trello-style Kanban board with three columns:
- To Do
- In Progress
- Completed
Each task should:
- Be created from an input.
- Be moved between columns using left/right buttons.
- Support editing the title from any column .
- Support deletion from any column.
Requirements
-
A text input and a button to add new tasks.
-
Render 3 columns:
To Do→In Progress→Completed
-
Each task must have:
- Task title.
- Edit and Delete buttons.
- ← button (except in
To Do) to move left. - → button (except in
Completed) to move right.
-
Clicking Edit shows an input to change the title.
- Saving happens on
Enterkey oronBlur.
- Saving happens on
-
Delete removes the task from any column.
Testing requirements
- The input should have
data-testid="task-input". - The button to add a task should have
data-testid="add-task-button". - The To Do column should have
data-testid="column-todo". - The In Progress column should have
data-testid="column-in-progress". - The Completed column should have
data-testid="column-completed". - Each task should have
data-testid="task-<task.id>". - The title of the task should have
data-testid="task-title-<task.id>". - The input shown while editing should have
data-testid="task-title-edit-<task.id>". - The left arrow button should have
data-testid="move-left-<task.id>". - The right arrow button should have
data-testid="move-right-<task.id>". - The edit button should have
data-testid="edit-button-<task.id>". - The delete button should have
data-testid="delete-button-<task.id>".
Reference UI

Companies:
Solve Similar questions 🔥
Want to upskill? Explore our courses!
Namaste DSA
Master DSA from scratch with numerous problems, and expert guidance.
Namaste React
Wanna dive deep into React and become Frontend Expert? Learn with me now!
Namaste Frontend System Design
The most comprehensive and detailed course for frontend system design.
Namaste Node.js
Wanna dive deep into Node.js? Enroll into `Namaste Node.js` now!
