\n
\n \n To Do
\n \n \n\n
\n \n In Progress
\n \n\n
\n Organize your workflow with ease
TaskFlow - Organize your work with ease
${task.description}
\n \n `;\n todoColumn.appendChild(taskElement);\n }\n\n // Drag and drop functionality\n const tasks = document.querySelectorAll('.task');\n const columns = document.querySelectorAll('.column');\n\n tasks.forEach(task => {\n task.addEventListener('dragstart', dragStart);\n task.addEventListener('dragend', dragEnd);\n });\n\n columns.forEach(column => {\n column.addEventListener('dragover', dragOver);\n column.addEventListener('drop', dragDrop);\n });\n\n let draggedTask = null;\n\n function dragStart() {\n draggedTask = this;\n setTimeout(() => this.style.display = 'none', 0);\n }\n\n function dragEnd() {\n draggedTask.style.display = 'block';\n draggedTask = null;\n }\n\n function dragOver(e) {\n e.preventDefault();\n }\n\n function dragDrop() {\n this.querySelector('.tasks').appendChild(draggedTask);\n }\n});\n---end---"${task.description}
\nOrganize your workflow with ease
${task.description}
\n \n `;\n todoColumn.appendChild(taskElement);\n }\n\n // Drag and drop functionality\n const tasks = document.querySelectorAll('.task');\n const columns = document.querySelectorAll('.column');\n\n tasks.forEach(task => {\n task.addEventListener('dragstart', dragStart);\n task.addEventListener('dragend', dragEnd);\n });\n\n columns.forEach(column => {\n column.addEventListener('dragover', dragOver);\n column.addEventListener('drop', dragDrop);\n });\n\n let draggedTask = null;\n\n function dragStart() {\n draggedTask = this;\n setTimeout(() => this.style.display = 'none', 0);\n }\n\n function dragEnd() {\n draggedTask.style.display = 'block';\n draggedTask = null;\n }\n\n function dragOver(e) {\n e.preventDefault();\n }\n\n function dragDrop() {\n this.querySelector('.tasks').appendChild(draggedTask);\n }\n});\n---end---"${task.description}