Editing JavaScript

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 Aug 23, 2017. It was last updated on Nov 17, 2018. This page (Editing JavaScript) was last updated on Oct 22, 2018.