I built a simple transistor AND gate as specified by the following schematic:
It works very well, however it outputs a small amount of current when input B is HIGH, enough to illuminate a standard 3mm LED. Why does this happen? How can it be prevented? Ultimately I would like this circuit to illuminate the LED only when both inputs are set to HIGH.