Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
grabanski
· 4y ago · 0 comments
Cool! I'll look into the API and consider adding it to this implementation. Or happily would take a look at a PR for it.
Comments
[–]
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
OP
4y ago
How does this look?
https://github.com/1Marc/todomvc-vanillajs-2022/commit/d38e5...