Circuit design · LEDs and resistors
A resistor turns the voltage it drops into heat, and a package too small for that heat cooks on the board.