Make sure you're not mixing up the anode and the cathode.
The longest leg of the LED (anode) is positive, and the other leg (cathode) should be connected to ground.
Make sure you're not mixing up the anode and the cathode.
The longest leg of the LED (anode) is positive, and the other leg (cathode) should be connected to ground.