The MakeCode editor is a beginner-friendly platform designed to help you bring your micro:bit projects to life. It primarily uses block-based coding, allowing you to create programs by snapping together colourful blocks like puzzle pieces. This visual approach makes coding fun and accessible, especially for those just starting out.
With the MakeCode editor, you can experiment with your ideas, test them using the built-in simulator, and then send your code to your physical micro:bit to see your project in action. It’s the perfect tool for learning and exploring the power of code.
Watch this video for a brief overview of the MakeCode editor’s interface:
TRY IT OUT!
Use the MakeCode editor to complete these challenges on your micro:bit:
- Challenge 1: Display a heart on your micro:bit’s LED matrix forever. (Answer)
- Challenge 2: Make the heart look like it is beating! (Answer A | Answer B)
Try experimenting with the “basic” blocks in the MakeCode editor to display icons and control timing.
Test the code on the simulator or follow the on-screen instructions to download it to your physical device. We will cover this second option more deeply in the next activity.
Note: While we have provided sample answers, the beauty of coding is there are often multiple correct solutions to a problem!
IMPORTANT NOTES
- While we will be coding with MakeCode blocks today, you can also code with Python or JavaScript in the MakeCode editor.
- Learn more about the MakeCode editor in Microsoft Makecode’s documentation.