Try running this example by first opening this file using Live Server and then by right-clicking on the file and selecting the Chrome browser.