---
title: Code in the Sandbox
description: Write and run your own code, outside of a lesson, in the language you choose.
order: 6
verified: 2026-11-24
---

The Sandbox is a code panel without a lesson, for trying out your own ideas.

1. In the sidebar, select **Sandbox**.
2. Under **Choose a language**, select a language: **HTML/CSS/JS**, **Kaboom.js**, **P5.js**, **Python (Brython)** or **Python**.

![The Choose a language box, with the five languages and their logos](/docs/learning/code-in-the-sandbox-1-choose-a-language.png)

3. The Sandbox opens with some starter code. Change it in the editor. The left side is for your own notes. On a phone, the Sandbox opens on the code, and the **Notes** tab holds your notes.

![The Sandbox, with the notes on the left, the code in the middle and the result on the right](/docs/learning/code-in-the-sandbox-2-sandbox.png)

4. Select **Run** to see the result. **Refresh** reloads the result.

![The Run and Refresh buttons above the result](/docs/learning/code-in-the-sandbox-3-run.png)

Your code is still there the next time you open the same language: in your account when you're signed in, or in this browser when you aren't. To share an HTML/CSS/JS page, [save it to your Gallery](/docs/learning/save-a-project-to-your-gallery).
