This tutorial will help guide you beyond the beginner level where you understand how to write functions, Objects, Arrays, work with the DOM, and can make AJAX calls but frequently question how you should arrange your code.
I walk you through basic procedural code, to namespacing your code, to using IIFEs for controlling access, and finally on to using ES6 Modules.

Code from video: https://gist.github.com/prof3ssorSt3v3/3b0a405d8e7ada2706fd7ce4b1e44adb

#javascript #web-development

JavaScript Code Structure Moving Beyond Beginner
1.80 GEEK