Back to projects

Grocery Guru

An editable shopping list that saves directly in the browser, with no account or backend.

Grocery Guru project screenshot

What it does

Items can be added, renamed, deleted, filtered or cleared. The list survives a page reload through localStorage.

Decisions

Save locally
Every item change updates a JSON array in localStorage, and the page reads that array on load.
Separate search from storage
The text filter hides nonmatching rows without modifying stored items. It ignores letter case; duplicate detection checks exact strings.
Use one list click handler
Clicks in the list are routed to either delete or edit behavior instead of attaching a handler to each item.

Full notes

More on the implementation and challenges.

Next project

Cinematrix

A movie and TV discovery app powered by the TMDb API.

Working on something similar? Get in touch.