If you wish to hand out a program for students to complete, you might want to try our classroom.microbit.org, a tool for teachers tor run classroom activities from with the browser. The makecode.microbit.org editor also allows you to share a URL with students generated in the MakeCode editor.
To generate the URL, select the share button at the top left of the editor window, select publish and copy the URL that is produced.
Give this URL to students, who can then download a copy and/or make their own edits and re-publish. You could also add comments to the blocks in the program with next steps.