That example uses an STM32 based Espruino board. You'll need to use your own pins.
The nRF52832 based boards (yours is one) can have I2C on any pin. You just need to specify it.
See for example https://www.espruino.com/INA219 but instead of A4/A5 you can use D6/D7 or D11/D12 or any pin you want.
And yes you can connect your serial to D11 and D12
@parasquid started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That example uses an STM32 based Espruino board. You'll need to use your own pins.
The nRF52832 based boards (yours is one) can have I2C on any pin. You just need to specify it.
See for example https://www.espruino.com/INA219 but instead of A4/A5 you can use D6/D7 or D11/D12 or any pin you want.
And yes you can connect your serial to D11 and D12