How can the calcium in milk have two fewer electrons and still be calcium?
The calcium in a glass of milk hasn't changed into a different element, even though a calcium ion has two fewer electrons than a calcium atom. How can both still be calcium? Look at what changes around the nucleus and what stays the same.
Start with neutral sodium. It has eleven positive protons, twelve neutral neutrons and eleven negative electrons. Equal proton and electron counts make it neutral. Rutherford's model put positive charge in a tiny nucleus. That explained why a few alpha particles bounced back, but it couldn't explain why atoms are stable.
Read neon's rings as two electrons in the first main energy level and eight in the second. Bohr assumed fixed paths with set energies. That explained hydrogen's lines but didn't work well for atoms with several electrons. You still use energy levels today. Orbitals describe where electrons are likely to be found.
A neutral oxygen atom has eight electrons. In its lowest energy arrangement, fill the first shell before you place the rest in the second shell. Pick the correct shell counts, starting from the nucleus.
Read the rows in atomic number order. Hydrogen and helium use the first shell. Lithium to neon add electrons to the second. Sodium to argon add one to eight to the third. Potassium and calcium start the fourth shell, even though the third can hold more than eight.
Give hydrogen energy and its electron can move up a level. When it drops to a lower level, it emits a photon with energy equal to the gap. Different gaps give different wavelengths. Compare the bright lines, including the red and blue-green ones, with a reference spectrum to identify hydrogen.
Calcium starts with two, eight, eight, two. Cross out its two outer dots. Calcium two plus has two, eight, eight. Chlorine starts with two, eight, seven. Draw one more dot in its third shell. The chloride ion has two, eight, eight too, the same stable arrangement as argon.
Magnesium has atomic number twelve. A magnesium ion has a two plus charge. Work out how many electrons it has, then put them into shells from the inside out. Pick its electron arrangement.
Read the first row. You get calcium two plus by removing two electrons. Adding two protons would change the nucleus. Now look at the second row. Twenty-two protons would make it titanium. With twenty protons and eighteen electrons, it's still calcium and its charge is two plus.
If the question says, write the electronic configuration of the sulfide ion in terms of main energy levels, use sulfur's atomic number, sixteen. The two minus charge means two extra electrons. Write two, eight, eight to show how those eighteen electrons are arranged.