The right notes in order
Why it matters. A wrong note breaks the pattern of the scale.
How to meet the requirement. Read the key signature before you play. D major has F sharp and C sharp.
Example. The scale runs D, E, F sharp, G, A, B, C sharp and D.
Practice on this site. Play D major in the lesson Major scales with sharps.