How to determine the order of acidity of the following dimethyl nitrophenols
The right answer should be 3 as the $\ce{NO2}$ group has a negative mesomeric effect, which is only possible with 3. In 2, due to steric inhibition of resonance, it exhibits only -I effect, and although 3 contains H-bonding, it slightly affects acidity.