Blockly Playground

Drag blocks together from the toolbox on the left of the workspace to build a program. The generated JavaScript updates live as you edit, and the print block (under Text) sends a value to the output panel when you hit Run.

Generated JavaScript

// Add blocks to generate code

Output

Click Run to execute the generated code.

FAQ