This is a demonstration of how to structure code in a client-side web project.
The app just adds 1 and 1 and displays the result on the page.
We are trying to model the code into independent modules and spread it to multiple files. In the first step we are using the module pattern and publish each module to the global namespace. This is a simple approach that does not need any additional tools such as RequireJS or Webpack.