Split your code into phases
A good advice for writing good code is to avoid writing long functions. Long functions tend to be...
Tags: javascript, webdev, programming, cleancode