2du is a todo app designed using HTML,CSS and Javascript.
The project follows the guideline of the odin project to build a todo app using javascript for DOM manipulation and interaction. It uses javascript objects and functions. It uses webpack. It also uses Bootstrap for user interface design.
It demonstrates the use of Object Oriented Programming principle in javascript.
Features:
-
Add project
-
Add todo
-
Edit todo
-
Update todo status as completed or incomplete todo
-
Delete todo
-
Undo delete todo feature which restores last deleted todo
-
Selecting
TodosbyProjects -
Filtering
Todosby:Active Task,Due Task,Completed Task, andIncomplete Task
-
Sorting
Todosby:- Oldest Todos to newest Todos,
- Newest Todos to Oldest Todos and
Priority(Lowest to Highest priority)Priority(Highest to Lowest priority)
-
Search todo feature
-
HTML
- Semantic HTML
-
CSS
- CSS Flexbox
-
Javascript
- DOM manipulation APIs (i.e:
querySelector(),createElement(),setAttribute()and more); - Arrow function.
- Destructuring assignment.
- Spread Operator
- Object literal
- Template literal
- Factory functions
.filter()methodsort()method- Ternary Operators and more ES6 based syntax.
- DOM manipulation APIs (i.e:
- Clone the project
git clone https://github.com/adejam/2du.git
- Install Dependencies
npm installTo run StyleLint by itself, you may run the lint task:
npm run lint:checkOr to automatically fix issues found (where possible):
npm run lintYou can also check against Prettier:
npm run format:checkand to have it actually fix (to the best of its ability) any format issues, run:
npm run formatYou can also check against HTML Validator:
npm run html-validatorYou can also build with webpack:
npm run build- Github: @adejam
- Twitter: @adeleye_oj
- LinkedIn: @adeleye-jamiu
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!