-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Instead of appending all the elements one by one, I could use forEach to append them by less using less code.
Lines 43 to 50 in ded17d7
| this.todoListContainer.appendChild(tdulLi); | |
| tdulLi.appendChild(tdLeft); | |
| tdLeft.appendChild(tdulLiBox); | |
| tdLeft.appendChild(tdLiContent); | |
| tdulLi.appendChild(tdLiOption); | |
| tdulLiBox.appendChild(tdBoxImg); | |
| tdulLi.appendChild(tdLiOption); | |
| tdLiOption.appendChild(tdOptionImg); |
Metadata
Metadata
Assignees
Labels
No labels