So I have never really built a circuit before but have a decent understanding of how most things work. I am putting together a circuit in which I use a D type toggle flip flop controlled by a pushbutton to control an AND gate, in conjunction with another pushbutton. This AND gate output resets my toggle and controls another IC which controls a 12V solenoid valve. For instance, I saw this website, http://www.doctronics.co.uk/4013.htm, that shows a very simple circuit and this one, http://www.cpemma.co.uk/flipflop.html, that has a lot of extra stuff to prevent bouncing. So my question is, what do I need to take into account as far as decoupling, debouncing, pull down resistors, etc. to sufficiently protect my circuit from killing itself?