Open Kumilachew-g opened 2 years ago
Hello Tamana !
Great code !
One thing that I would kindly suggest, that is a minor observation and just learnt it the other day, is that it is generally preferable to use createElement
and create each one with that method, rather than using innerHTML =
So for example, in this line: https://github.com/tamana-Balkhi/to-do-list/blob/1f2a717e6764ebc2c97902fb39b842116595fd42/src/modules/layout.js#L25
The HTML could be generated with createElement
. This is generally better for security purposes
Other than that great code Tamana !
You have done great but there are some optional modifications