There is a toggle between blocks and javascript in MakeCode. You can write code in blocks and switch to javascript or vice versa. This dual modality hopefully helps students to make the jump from blocks to javascript on a long term.
Blocks editor is based on the fork of google blockly(https://developers.google.com/blockly/).