Modular Javascript #5 - PubSub Implementation

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: And here’s all the HTML/CSS/JS on CodePen:
Back to Top