Well at each and every joint between a main stem and a secondary stem a little flower bract will grow. Rinse and repeat a few thousand times. The growth is exponential so the bigger the plant is the faster it will grow in “x” period of time.
The cells are filled with pectin which is mostly calcium. The chloroplasts are (mostly?) nitrogen surrounding a magnesium ion. The pith is boron, think of it as the asphalt on the highway. Most of your essential oils are sulphur and potassium driven iirc, and probably phosphorus too, as I know the fatty acids in the seeds are high in phosphorus.
None of that is all that important yet tho. As long as you have everything, and in relatively proper proportions, the whole flower process is just a waiting game.
Almost everyone has some crazy beginners luck tho. And it isn’t until your second or third grow that things get difficult. Lol
Ooooh, I should add. >90% of problems are related to too much or too little water, too often or too infrequently