01. Console Log πŸ‘©β€πŸ«πŸ§‘β€πŸ«

index.html

<!DOCTYPE html>
<html lang="en-gb">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Script Tags and Console Log</title>
</head>

<body>
  <h1 style="text-align:center;">Open the Console to See the Magic ✨! </h1>

  <!--Inline script-->

  <script>

    //Console logs write data directly to the console.

    console.log("This is the log for the πŸ”₯INLINEπŸ”₯ JavaScript");

  </script>

  <!--Link to external JavaScript file-->

  <script src="script.js"></script>

</body>
</html>

script.js

// External files make your code organized and easier to maintain
console.log("This is the log for the πŸ”₯EXTERNALπŸ”₯JavaScript");