A free game where you progress by solving code based puzzles.
The BBC Micro:bit has an online MicroPython editor
Trinket.io allows you to write and run code in a web browser. It's great for Python and HTML. You don't need to sign up to the site, but if you would llike to, it is quick and easy. There are tutorials to get you started.