Skip to content
Advertisement

Blockly doesn’t show anything in the browser

I want to customize blockly but after following instructions from online sources, I don’t see anything appearing in the browser.

This is the example code:

JavaScript

How can I make the Blockly editor show up?

Advertisement

Answer

Your Blockly workspace seems fine. The problem is missing CSS to give the editor a height and width so that it’s visible:

JavaScript

All I added was:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement