Hund's rule of maximum multiplicity: electrons enter degenerate orbitals singly before pairing. So N has one electron each in all three 2p orbitals.
Take chapter-wise tests, track your progress, and master Atomic Structure.