-
What is the console used for?
It is used to quickly test and modify a page without changing the website. -
How do you open the Console in Google Chrome?
Go to triple dot, more tools then developer tools. Alternatively ctrl+shift+j for windows and cmd+opt+j for Macs. - What does console.log function do?
The Console can be used to log information as part of the JavaScript development process, as well as allow you to interact with a web page by carrying out JavaScript expressions within the page’s context.
-
How can you change the contents of an HTML page through the console?
Through the console log It allows you to work within a specific context of the HTML and modify and test scripts.