Open mullenlucas opened 2 years ago
Hello Kumilachew, great work !
I would like to add a slight suggestion, based on an article I read the other day, comparing the innerHTML function to the createElement. So for example in this line https://github.com/Kumilachew-g/To-Do-List/blob/d5627197dd4bb2177ccf0d5f81458d26bbb8f419/src/modules/activities.js#L31
innerHTML
createElement
It is said that it is recommended to use createElement structure to avoid security issues, and also performs better and faster
Other than that, great code !
you did a great work, but i have some suggestion about this line of your code:
textInput.classList.toggle('update-item');
if you use add instead of toggle it would seems great
Hello Kumilachew, great work !
I would like to add a slight suggestion, based on an article I read the other day, comparing the
innerHTML
function to thecreateElement
. So for example in this line https://github.com/Kumilachew-g/To-Do-List/blob/d5627197dd4bb2177ccf0d5f81458d26bbb8f419/src/modules/activities.js#L31It is said that it is recommended to use
createElement
structure to avoid security issues, and also performs better and fasterOther than that, great code !