# What is the electron configuration of an element with atomic number 6?

Well, we deal with $\text{carbon}$; i.e. for $\text{carbon, Z=6}$.
And using the normal aufbau principle, we gets $1 {s}^{2} 2 {s}^{2} 2 {p}^{2}$... And thus there are four valence electrons.