modular javascript es6 link to html code example Example: import modules js html <script type="module" src="main.js"></script>