Makecode is an excellent web-based editor for programming various devices including EV3 Robots and the Micro:bit.

The interface includes a ‘block programming’ environment (kind of like Scratch) as well as a Javacript environment. You can even switch between the two views if you want to learn Javscript while making your electronic creations.