Simple example of using modules in vanilla JS
You need to serve the page from local server, since trying to load modules while running from file system will fail in all major browsers. Also - currently works only in Chromium, local modules import fails in FF.