Teaching Beginners to Code

Absolute beginners?
Nowadays in terms of web dev I’d say HTML first, CSS second, JavaScript third.

In terms of “programming” in general, I’d say it would have to be the first “language”: I learned, which really isn’t a language. That being Digital or Gate Logic.

You know, the AND, OR, NOR, XOR stuff. Great for understanding life in the binary dimension.

My first “real” language was BASIC, but I don’t think I could recommend that now, much has changed.

My second was Java, but TBH I don’t think it would be good for most as a beginning language. Though any that persisted and survived would have a good start.