Find the note "C" on your keyboard, as shown in the image below. This is the first note of the C Major scale: C, D, E, F, G, A, B, and back to C.
-
Note the pattern of white keys: three white keys enclosing two black keys, and four white keys enclosing three black keys.
-
You can also see it this way: the black keys repeat a five-key pattern of two black keys separated by one white key, then two white keys, then three black keys separated by one white key, then two white keys.
-
This pattern is constant on all keyboards. Every note on the keyboard is represented in this single 12-note octave they're just higher or lower in pitch.