Demonstrates how to handle the window's `focus` and `blur` events.

This code does not depend on any third-party libraries like jQuery.