Step 2: write programs
View the link https://makecode.microbit.org/ in your browser;
Click ‘New Project’;
The dialog box‘Create a Project’ appears, fill it with‘heartbeat’and click
‘Create √’to edit.
(If you are running Windows 10 system, it is also viable to edit on the APP
MakeCode for micro:bit , which is exactly like editing in the website. And
the link to the APP is
https://www.microsoft.com/zh-cn/p/makecode-for-micro-bit/9pjc7sv48lcx?
ocid=badgep&rtc=1&activetab=pivot:overviewtab )