Link Search Menu Expand Document

Create a Module Script

Summary

  • A js script can be added to an HTML document using the following:
<script type="module" src="filename.js"></script>

Final Code

<html>
  <body>
    <!-- Only change code below this line -->
    <script type="module" src="index.js"></script>
    <!-- Only change code above this line -->
  </body>
</html>