> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Todo List

Add, check off and delete todos. It's the app the [tutorial](/guide/tutorial.md) builds step by step.


## What it shows

- **`@for` with `@empty`** — renders the todos, or a message once the list is empty. `track todo.id` lets Angular reuse rows.
- **`<input>` and `(bindinput)`** — the typed text arrives in `event.detail.value`. See [`<input>`](/api/elements/input.md).
- **`(catchtap)`** — the ✕ button stops its tap from bubbling, so deleting a todo doesn't also toggle it. See [Handling taps and events](/guide/elements/event-handling.md).
- **Class bindings** — `[class.line-through]` and `[class.bg-indigo-500]` restyle finished todos.

## Related

- [Tutorial: A todo app](/guide/tutorial.md)
- [Form Input](/examples/form-input.md)
