With the index.html and script.js files linked together, we can interact with the webpage through JavaScript.

Type document again to see how it displays the HTML file in the console.

<html>
<body>
  <h1>Facebook</h1>
  <p>Sign up or log in</p>
  <script>
   console.log(document);
  </script>
</body>
</html>]]>

Make sure to type document.