Recommended · for beginners
Making logic gates from transistors
Why people recommend it
Ben Eater builds basic logic gates from transistors, resistors and LEDs on a breadboard; beginners often follow it, then ask how the XOR circuit works.
Watch for: the XOR gate build
In their words
Here is a video that goes over how various logic gates using npn BJT transistor work.
Samuel Snerden on electronics.stackexchange.com, Aug 2020. CC BY-SA.
There's another video on his channel that takes it a step further: how to build logic gates from transistors (going by the title; I haven't watched it yet):
Dave the Sax on electronics.stackexchange.com, Jan 2020. CC BY-SA.
In his video Making logic gates from transistors Ben Eater draws a following scheme
Artiom Rombakh on electronics.stackexchange.com, Oct 2019. CC BY-SA.