Javascript Blocks Editor

Using functions in the Javascript Blocks Editor
Here is an example of writing a function: 1. make a little blocks program that beats a heart... 2. go into java script view to view 'unde...
Thu, 12 Apr, 2018 at 3:56 PM
How do I access files on the micro:bit in the JavaScript Blocks editor?
There is an experimental beta filesystem in MakeCode, you can find it by going to the "Add packages" menu and searching for "files": ...
Wed, 20 Sep, 2017 at 11:43 AM
Using multiple variables in the f(x) block
There is no visual representation of parameters in the Javascript Blocks editor, but you can drop into javascript to do this - and you can then come back to...
Thu, 12 Oct, 2017 at 2:48 PM
Randomly fill the LED screen
Press Button A to fill the LED screen in a random pattern
Wed, 18 Oct, 2017 at 11:57 AM
Interupt melody
To stop a melody before it completes, you can pass in an empty melody.  A melody is an array of notes, so you can do this by going into the javascript v...
Wed, 6 Jun, 2018 at 10:25 AM
How do I update custom block properties?
Editing the Javascript code does not automatically update the visual appearance of the block in the editor. In order to do this, you will need to refresh th...
Wed, 1 Nov, 2017 at 9:21 AM
Stopping a melody in Javascript Blocks
If you would like to interupt or stop a melody whilst it is being played, you can do this by passing the block an empty array. For example, to stop the melo...
Tue, 15 May, 2018 at 1:12 PM