- [ ] Keep all the JavaScript code in JS files, not in the script tag. 👍 - [ ] Keep your code clean[](https://devinduct.com/blogpost/22/javascript-clean-code-best-practices) - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/localStorage.js#L5 - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/localStorage.js#L22 - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/localStorage.js#L42 - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/localStorage.js#L52 - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/userInterface.js#L21 - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/userInterface.js#L48 - [ ] If you use node modules, .lock files should be in the repository to avoid problems with future versions of the dependencies. 👎 - [ ] If you use ES6, use object destructuring to get the values from an object. This way you can avoid repeating a lot of code. 👎 - https://github.com/miltonHenschel/ToDoList-App/blob/d68855b47fa2db61571d5da0f6e3b9c0e72f3bcc/src/modules/toDoList.js#L2 - [ ]
Keep all the JavaScript code in JS files, not in the script tag. 👍
Keep your code clean
ToDoList-App/src/modules/localStorage.js
Line 5 in d68855b
ToDoList-App/src/modules/localStorage.js
Line 22 in d68855b
ToDoList-App/src/modules/localStorage.js
Line 42 in d68855b
ToDoList-App/src/modules/localStorage.js
Line 52 in d68855b
ToDoList-App/src/modules/userInterface.js
Line 21 in d68855b
ToDoList-App/src/modules/userInterface.js
Line 48 in d68855b
If you use node modules, .lock files should be in the repository to avoid problems with future versions of the dependencies. 👎
If you use ES6, use object destructuring to get the values from an object. This way you can avoid repeating a lot of code. 👎
ToDoList-App/src/modules/toDoList.js
Line 2 in d68855b
[ ]