Nitrogen:
Atomic number – 7
Electronic configuration – 1s2 2s2 2p3
Nitrogen:
Atomic number – 15
Electronic configuration – 1s2 2s2 2p6 3s2 3p3
The number of shell increases in the periodic table when we go down the group. When you remove a group from the table of days, the number of shells increases. As a result, the valence electrons move away from the electrons and the effective charge of nuclei decreases. This causes a decrease in the tendency to attract electrons so the electro negativity decreases. For all these reasons the element nitrogen is more electronegative than the element phosphorus.