how come the 3rd and 4th leds emit little light?

dhenry:

low electric current

The electric company didn't provide quality electronics. The fault has nothing to do with your hardware / software.

The hardware that we cannot see, and the code that is not provided.