# LiquidLab

> A free, in-browser playground and real-world challenges for people learning Shopify Liquid. No store, no setup.

- Built by: Trang
- Status: beta
- Type: app
- Started: 4 Dec 2026
- Stack: LiquidJS, CodeMirror, Astro
- Live: https://builtbytrang.com/lab
- Canonical: https://builtbytrang.pages.dev/projects/liquidlab/

## Why I built it
When I started with Shopify, learning Liquid was only half the challenge. The other half was understanding how products, variants, collections, sections and metafields fit together, and you needed a store and a theme set up before you could try anything.

LiquidLab removes the setup. You open it and start writing Liquid.

## What's in it
- **Playground.** Write Liquid and watch a storefront preview update as you type.
- **Object explorer.** Browse realistic mock data (products, variants, collections, the cart, metafields) and click to insert a field.
- **10 challenges.** Each one is a small client request, from "show the price properly" to "debug a broken section". Automatic checks run your code against several test cases, such as an in-stock and a sold-out product.
- **Hints before answers.** Hints come one at a time, and the solution only unlocks after the last hint.

## How it works
Everything runs in the browser: [LiquidJS](https://liquidjs.com) renders the templates, with a simulated set of Shopify filters and tags (`money`, `image_url`, `t`, `{% form %}`, `{% schema %}` and more). The preview is a sandboxed iframe. Progress is saved in local storage, so there's no login and no backend.

It's a simulation: LiquidJS is not Shopify's Liquid, and the site says so clearly.

## What's next
- Section & schema builder with a simulated theme editor
- Cart API simulator
- GraphQL playground with mock Storefront API responses