For this assessment, we want you to build a task management app. You are required the add at least 3 of the features and style it as you wish.
- React
- Redux is not required, up to you
- No need for a backend/saving the data, keep it frontend only
- Here is some example data:
//example code
//not working code
const maxTasks = 20
const showCompletedTasks = false
const tasks = [
{ id: 1, task: "Pick up new glasses", completed: true }
{ id: 2, task: "Buy airco", completed: false }
{ id: 3, task: "Take packages to return", completed: false }
{ id: 4, task: "Order dog food", completed: true }
]- The added task should be an object in the same format as the existing ones
- If the
maxTasksis reached, you shouldn't be able to add more tasks
- Marking a task as completed removes it from the list if
showCompletedTasks: false
- Add a button to delete a task from the list
- If
showCompletedTasks: false, we should only see pending tasks - If
showCompletedTasks: true, we should all tasks
- If
maxTasks: 20, you should be able to have more tasks than 20 - Add the possibility to change the amount of tasks, this number can vary from 1 to 99