Example of a scale in the key of “C”: By the way “C” is the only one that has all major notes.
C – D – E - F – G – A – B - C

Example of a scale in the key of “D”:
D – E – F# - G – A – B – C# - D

Example of a scale in the key of “E”:
E – F# - G# – A – B – C# - D# - E

Example of a scale in the key of “G”:
G – A – B – C – D – E – F# - G

Example of a scale in the key of “A”:
A – B – C# - D – E – F# - G# - A

Now use all the strings, instead of going up the neck on one string, hit the same notes on the strings below. Looking at the way the notes are laid out on the fret board. Start with top string. Open “E” then go to “F#” then “G#” the next would be “A”. Instead of using the “A” on the same string, use the open “A” on the next string below. Then “B”, then “C#”, then “D#” Then “E”, then “F#”, then drop down another string to “G#” then “A”, So on and so on.