Switch on the generator and watch both electrodes: pale yellow-green chlorine forms at the anode, hydrogen at the cathode. Phenolphthalein turns pink around the cathode, where water leaves OH(-) behind. Now switch on the generator of the beaker beside it, whose brine holds only 0.010 mol/L: oxygen takes over at its anode. Sodium never appears, because in water Na(+) is not reduced: an electrolysis gives the easiest product, not the obvious one.
The pink appears first around the cathode.
Build galvanic cells and electrolysers from metals, solutions and a salt bridge, measure them, and watch one electrode dissolve while metal deposits on the other. The tool needs JavaScript, because every current, potential and mass is worked out in your browser.