Click on the Tabs below the see the relevant code for the example: