Skip to main content
Frontend tutorial

Course help

Where is my code saved?​

In this browser, separately for each lesson. Come back on the same device and the editor opens where you left off. Every lesson starts from its own files, so edits don't carry over to the next one. Show solution shows the answer without touching your code, and Back to my code returns to it. Reset to starting code in the ⋯ menu above the editor brings back the starting files.

How do I keep a copy?​

Choose Download my files in the ⋯ menu. You get one JSON file with all of this lesson's files as they are now. Do it before you clear browser data or switch devices.

How do I continue on my computer?​

Choose Work locally in the ⋯ menu of the same lesson. It shows how to get that lesson's project, install it and start it, and how to import your download into it. You need Node 24, pnpm and Git; 2.1 walks you through them. A file that the editor shows as /App.tsx lives in src/App.tsx in the project.

Online editor, in the same menu, opens the lesson's project in StackBlitz, without your edits.

What else is around the editor?​

Console, under the preview, shows console.log output and runtime errors. Show support files in the ⋯ menu opens the lesson's other files, read-only.

The preview is stuck. What now?​

Press the refresh button in the preview. It restarts the app with your current files. If the preview doesn't load at all, the service that runs it can't be reached: try again later, or use Online editor or Work locally.

How do I run the tests?​

In chapter 6, Run tests runs your test file against the counter store, right in the page. It understands the common parts of Vitest. For everything else, like watch mode or coverage, work locally and run pnpm test.

Course help

Where your code lives

Where your code livesYour code in the editor is saved in this browser, separately for each lesson. Download my files turns it into one JSON file. Work locally shows how to get the lesson project on your computer and import that file into it; there /App.tsx lives in src/App.tsx. Show solution never overwrites your code, and Online editor starts from the lesson's own files.Editoryour codesavedThis browserfor each lesson.jsonDownloadmy filesYour computeryou import it heresrc/App.tsxis the editor's /App.tsxShow solution neveroverwrites your code.Online editor startsfrom the lesson's files,without your edits.

Download your files before you clear browser data or switch devices.