how to import module from online source in javascript code example Example: import modules js html <script type="module" src="main.js"></script>