Skip to content

Playgrounds

An editor and a Run button

Every one of these runs inside your own browser rather than sending your code to a server: real language runtimes in a sandbox, and for HTML and CSS, your browser's own rendering engine in a locked-down frame. That is also why none of them can reach the network or see anything else on your machine.

If you have never written code before, the playground is the harder place to start, because a blank editor asks you what to write. The Python exercises, JavaScript exercises, TypeScript exercises, Java exercises, C++ exercises, C exercises, C# exercises, Go exercises, PHP exercises, Ruby exercises, SQL exercises, R exercises and Bash & the Shell exercises hand you something that already runs and ask you to change one thing.

What the sandbox can and cannot do

Each run is stopped after a few seconds if it has not finished, output is capped so a runaway loop cannot fill your memory, and every request to another website is refused by the browser itself. The full, honest description — including what the sandbox does not guarantee — is on the code execution and security page.