e.key === 'Enter' && add(e.target)} />
todo
{#each todos.filter((t) => !t.done) as todo (todo.id)}
mark(todo, true)} /> {todo.description}
remove(todo)}>remove
{/each}
done
{#each todos.filter((t) => t.done) as todo (todo.id)}
mark(todo, false)} /> {todo.description}
remove(todo)}>remove
{/each}