Skip to main content

Goal 1: Checking boxes should save to the db

Where we are now

Our todo app shows a list of todo items, and each one has a checkbox. You can tick a checkbox, but nothing is remembered. Refresh the page and the tick is gone.

User story

As a user, when I tick off a todo item and refresh the page, the item should still be ticked.

Technically speaking

This means we need to make sure that when a user clicks a todo item checkbox, the database is updated.