Sept 20, 2022
node console.js
<script src=console.js></script>
We’ll use it going forward to update things in the browser, to control and interact with the user
Modules are a way that Node.js can split JavaScript into separate modules. By using the require keyword (Links to an external site.), you can enable the use of a module. Example:
const express = require('express');
Now you would be able to access the functions that module exports, like
const router = express.Router();