mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
* Add Blockly for the Web codelab code * Adding licences and comments as per review * Renaming a4/b4 sounds to a5/b5 * Define blocks with defineBlocksWithJsonArray istead of jsonInit
Blockly for the Web codelab
Code for the Blockly for the Web codelab.
In this codelab, you'll learn how to use Blockly JavaScript library to add a block code editor to a web application.
What you'll learn
- How to add Blockly to a sample web app.
- How to set up a Blockly workspace.
- How to create a new block in Blockly.
- How to generate and run JavaScript code from blocks.
Example code for each step of the codelab is available from the completed directory.