By leveraging some of the micro:bit's components, we can get information about how much light is shining on it. For example, you can read the LEDs on the front to measure the amount of light falling on the front of the micro:bit. This functionality is available using JavaScript and PXT Blocks (MakeCode) or with MicroPy