Constructing a NAND gate as an inverter.
The Attempt at a Solution
I've attached the image at my attempt to construct the circuit. The output is always on, which it should be except when both inputs are zero. Could someone explain what I am doing wrong?