Read the Microbit's accelerometer wirelessly using Bluetooth
Load this default firmware onto your Microbit following the instructions here to ensure you can connect your Microbit to the web using BLE.
Based on Shigeru Kobayashi Web Bluetooth with Micro:bit demo