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 Jul 26, 2017. It was last updated on Jun 15, 2024.

This page (Editing JavaScript) was last updated on Mar 08, 2024.

Text editor powered by tinymce.