It has a serious error.
The operating voltage of the GPIO pins is 3.3v with a maximum current draw of 16mA. This means that we can safely power one or two LEDs (Light Emitting Diodes) from a single GPIO pin, via a resistor.
The typical values for a 3 or 5mm LED is 1,8-3volt and 20mA depending...