mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
* Move the finished version of the codelab This moves the finished version of the codelab to app-completed so it's at the same level as the starting app code. * Fix paths to be relative The paths for blockly files and media were absolute, which would break if you ran it from any directory that wasn't identical.
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.