Thanks for any advice you guys can share. Onward and upward! - Joseph
Think of JS code like your Excel Cell formulas, manipulating the data. But instead of changing the data in a single cell, it’s changing the data in a variable. And instead of a one-shot deal, it’s a series of steps that need to be performed in sequence, repeated until some condition is met, etc.
There is a site, http://rosettacode.org/wiki/Rosetta_Code, that shows solutions/algorithm to some common (and not so common problems). You can look and study the solutions, but I admit some of the solutions are complicated.
sometimes you just need to break it down step by step, or draw it out on paper and use a pencil to write down what the variables are… or use a debugger.