MakeCode allows you to author your programs in a flavor of JavaScript optimized for micro-controllers. The code editor comes with error highlighting, auto-completion and other goodies. It is the same code editor that powers Visual Studio Code.

Blocks to JavaScript

Click on the "Blocks / JavaScript" toggle on top of the editor to enter the JavaScript mode. Your blocks will automatically be converted to JavaScript.

This guide was first published on May 03, 2017. It was last updated on May 03, 2017.

This page (Editing JavaScript) was last updated on Oct 22, 2018.

Text editor powered by tinymce.