Demo send & receive data with micro:bit Web Bluetooth UART service.
I created a simple demo to send and receive data with m:bit UART service. The code is purely written in the JavaScript block PXT editor and the HTML5 app for the web bluetooth app running on Chrome browser.
Source code: https://github.com/ferrygun/micro-bit-WebBluetooth-UART/tree/master
More details on the UART service can be found on the following link: https://lancaster-university.github.io/microbit-docs/ble/uart-service/ The code is based on the: https://github.com/LaboratoryForPlayfulComputation/microbit-web-bluetooth