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");