An LED includes a base and an LED die grown on the base. The LED die includes two spaced electrodes and two exposed semiconductor layers. The two electrodes are respectively formed on top surfaces of the two semiconductor layers. At least one of the electrodes extends downwardly from the top surface of the corresponding semiconductor layer along a lateral edge of the LED die to electrically connect an exterior electrode via transparent conducting resin.