Skip to content

emma-tech/project-todos

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Project Todos βœ…

The project for this week was to build a Todo List using Redux. In the Todo List it is possible to add tasks, list tasks and toggle between whether the task is done or not, and also a button for removing all tasks.

Solving the project πŸ’‘

  • I started out with creating the todo reducer and slice to store tasks, and used combineReducers and configureStore to create a store in App.js that is passed to a Provider wich holds all the components for the app. After that I created a TodoList component , and in that component I'm selecting the list of todos and mapping over them, displaying each item in the todolist.

  • The todolist also contains a checkbox for marking a task as completed, a button in the shape of a paper bin to delete an item from the list, and also a button to clear the whole todolist from tasks. The header also shows a summary of how many tasks that are done out of the total number of tasks in the list.

  • If I had more time I would have styled the app a bit more, and also created a local storage to add more functionality to the app. I would also like to add more functionality like timestamps for each task, added some styling/effects for when all tasks are removed and when all tasks are completed, add date input to the form to set a due date on a task and maybe style it differently depending on the date, add categories to tasks and the possibility to group tasks together as a project.

Tech ⚑️

  • React
  • Redux
  • JSX
  • Styled components

View it live πŸ‘©β€πŸ’»

Link to the deployed project on Netlify: https://emmas-todolist.netlify.app/

About

Redux project: Build a todo app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.5%
  • HTML 11.5%
  • CSS 5.0%