Get the Code
From Minecraft MakeCode download by pasting this URL into the MakeCode Import URL dialog:
https://makecode.com/_Hbx0MC78TV7C
This code will run in both Minecraft Education Edition and with Code Connection for Minecraft for Windows 10.