Clean code issues:
Closed this issue · 0 comments
M-Anwar-Hussaini commented
DRY:
- In the
main.js
file line 52, there is used normal traditionalfor
loop for the array. You could use theforEach
method. - the
createElement(task, index)
method have several functionalities, which means it works more than one, it would be better to change them to have only one functionality.