mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
* Google changed from an Inc to an LLC. This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade. * Remove project description/titles from licenses This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”). * License no longer requires URL. * Fix license regexps.
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.