The pen is to demonstrate the basic idea of PubSub. Here the first element triggers an event whenever its content changes and the other three elements changes to the same content.
This is done by jQuery's custom events which makes it really. Although the traditional PubSub method is more interesting to look at.
So, when the content of the first field gets updated, it triggers a custom event and passes the new content with it.
We listen for the event and when that happens we change the content of the other elements.
A Pen by hoodwink73 on CodePen.