I wrote this almost subconsciously with my mind vomitting words. I'm glad it makes sense to you, but take another look I added stuffs.
Algorithms is a big part of it because it alone forms the major basis of why you write code a certain way. Is this code more performant, optimized, simple?
Get up to speed on engineering principles (Abstraction, Modularity, Simplicity, Scalability, etc) and object oriented programming (or if youre a JS lover like me the prototype chain) too!