Question: is nitrogen more electronegative than oxygen?
Answer: But oxygen has 8 protons in the nucleus whereas nitrogen only has 7. A bonding pair will experience more attraction from the oxygen's nucleus than from nitrogen's, and so the electronegativity of oxygen is greater.