Let's take the pubsub pattern that we learned from the last video and integrate it with a few other JS modules. The result will be 2 modules that are very loosely coupled to other modules.
This loose coupling will allow the application to grow significantly larger without encountering problems.
Again, here's the pubsub code I'm using here: https://gist.github.com/learncodeacademy/777349747d8382bfb722
And here's all the HTML/CSS/JS on CodePen:
http://codepen.io/anon/pen/LVXrao
آی-ویدئو