Electronic – 74LS08 AND gate always outputting high

digital-logic

I am new to electrical engineering still so forgive me if I am making a stupid mistake. So I have wired up my 74LS08 AND gate according to this datasheet.
enter image description here

My wiring:
enter image description here

As you can see the LED is on by default despite neither button being pressed. Pressing the buttons does nothing.
It is currently powered by a 5v 1.25amp phone charger plugged into the wall. I have tried switching to a 9v battery and nothing changes.
And after a google search I havnt come up with anything, usually the videos are terrible quality or they are using a different AND gate

Best Answer

You could try adding a pull down resistor (100k, 500K, ohm, doesn't much matter) your inputs may be floating high. The inputs with both switches unpressed allow the pins to float around, depending on the way the IC is set-up internally.