A sleek, responsive Kanban board application with smooth animations, drag-and-drop functionality, and local storage persistence.
- Three-Column Layout: Organize tasks in "To Do", "In Progress", and "Completed" columns
- Drag and Drop: Easily move tasks between columns
- Animations: Smooth transitions and visual feedback for all interactions
- Local Storage: Tasks persist between browser sessions
- Context Menu: Right-click on tasks to edit or delete them
- Mobile Responsive: Works on all screen sizes
- Visual Feedback: Color-coded columns and tasks with hover effects
- Task Timestamps: Automatic date and time recording for each task
No special prerequisites are needed. This application runs in any modern web browser.
-
Clone this repository or download the source files
git clone https://github.com/ansh0330/Modern-Kanban-Board.git -
Open
index.htmlin your preferred web browser
- Type your task in the input field at the bottom of any column
- Click the "Add Task" button or press Enter
- The task will appear in the selected column with the current timestamp
- Click and hold on a task
- Drag it to another column
- Release to drop the task in its new location
- Right-click on a task
- Select "Edit Task" from the context menu
- Enter the new task text in the prompt
- The task will update with the new text and a current timestamp
- Right-click on a task
- Select "Delete Task" from the context menu
- The task will be removed with a fade-out animation
index.html- Main HTML structurestyle.css- Styling with CSS variables for themingscript.js- JavaScript functionality
- Vanilla JavaScript: No dependencies or frameworks required
- CSS3: Modern styling with variables, transitions, and animations
- HTML5 Drag and Drop API: Native drag and drop functionality
- Local Storage API: Browser-based data persistence
- Column entrance animations on page load
- Card creation and deletion animations
- Drag and drop visual feedback
- Task count updates with scaling effect
- Input validation shake effect
- Right-click context menu with fade effects
The application uses CSS variables for easy theming. Open style.css and modify the :root variables:
:root {
--bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
--column-gradient: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
--card-gradient: linear-gradient(135deg, #334155 0%, #293548 100%);
--primary: #a855f7; /* Purple */
--primary-dark: #9333ea;
--accent: #2dd4bf; /* Teal */
/* Column-specific colors */
--todo-color: #ec4899; /* Pink */
--doing-color: #eab308; /* Yellow */
--done-color: #22c55e; /* Green */
/* Additional customizable variables below */
}- Font: Montserrat from Google Fonts
- Color palette inspired by modern design systems