1. What is the console used for?
The console allows the developer to interact with the JavaScript code and the browser. It does so by giving the developer the ability to write, manage, and monitor JavaScript on-demand.
2. How do you open the Console in Google Chrome?
As a Mac user: You can press Option + Command + J. Or on the browser: Click Ellipsis > More Tools > Developer Tools.
3. What does console.log function do?
Console.log will show what’s expressed without a pop up element that needs to be closed such as in the alert function.
4. How can you change the contents of an HTML page through the console?
Content of an HTML page can be modified with many functions such as but not limited to:
let t = document. As well as operating within the DOM to influence and manage various style sheets and browser-specific parameters.