The full code for making this example work looks as follows:
Get hands-on with 1400+ tech skills courses.