Interacting with JavaScript using Chrome DevTools
There is a set of utilities included in the Chrome browser (https://developer.chrome.com/docs/devtools/overview/) defined as follows:
All Chrome-based browsers have Chrome DevTools, so you can use it with any browser based on Chromium, such as Google Chrome, Microsoft Edge, Brave, and so on.
The Node.js REPL is very useful, but in order to build web applications with Node.js, we can use Chrome DevTools for debug purposes. This debugging will be limited to client-side JavaScript as the Node.js code is not executed directly in the browser.
Chrome DevTools is a very complete tool, so this can be quite overwhelming at first, but we will focus on the most important features for this book...