2 ms·
Seriously- just do the innerHTML assignment on li.innerHTML omitting the title, followed up by a simple li.querySelector().textContent = todo.title.
by randomfool 4y ago
Seriously- just do the innerHTML assignment on li.innerHTML omitting the title, followed up by a simple li.querySelector().textContent = todo.title.
- grabanski 4y agoHow does this look? https://github.com/1Marc/todomvc-vanillajs-2022/commit/d38e58e9be4a7dacc74aeff889869fc0bea27a1d https://github.com/1Marc/todomvc-vanillajs-2022/commit/d38e5...