i am trying to create a digital logic trainer. to provide inputs through switches and outputs through LEDs, however when i connect the logic gates to the switches they don't work the way they are supposed to do. i am guessing that the gates need high or low not on or off. can you guys explain or direct me to a link to a switch that can provide high when activated and low otherwise. for example this is the scehmatics :
simulate this circuit – Schematic created using CircuitLab
thank you!