Explanation:
Here is one method: 1. Set up the electrolysis cell with the sodium chloride solution as the electrolyte and the electrodes in place. Make sure the cell is sealed and that the hydrogen and oxygen produced during the reaction can be collected.