Diatonic chords
A key is seven notes
C major is the seven white keys from C to B. Every chord in the key is built only from these notes — that is what "diatonic" means.
Stack every other note
Start on C, skip D, take E, skip F, take G. These three notes — C, E, G — are the C major chord. Stacking every other note is called stacking thirds.
Do it from D
Start on D and do the same: D, F, A. That is D minor. Same recipe, different starting note — and a different sound.
Major or minor?
The difference is the first gap. C to E is 4 half steps — a major third, bright. D to F is 3 half steps — a minor third, darker. Listen to both.
All seven chords
Build a chord on every note of the scale and you get the seven chords of C major. Tap each one to hear it.
Your turn: the odd one
Six chords are major or minor. One has two small gaps (B–D–F) and sounds tense — it is diminished. Which one? Tap it.
Roman numerals
Musicians name the chords by their scale degree: capitals for major (I, IV, V), lower case for minor (ii, iii, vi), and ° for diminished (vii°). The pattern is the same in every major key — so I–IV–V is always major.
Add a seventh
Stack one more third and every chord gets a seventh: Cmaj7, Dm7, Em7, Fmaj7, G7, Am7, Bm7♭5. These are the chords of jazz and much of pop.