1- 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. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand.
2- navigate to the menu at the top-right of your browser window signified by three vertical dots in a row. From there, select More Tools then Developer Tools.You can see console on the screen.
3- By using this function we can print a string or perform the math and print the result on console.
Additionally, we can work on multiple lines with variables.
4- The Console provides you with a space to experiment with modifying HTML pages, but it is important to keep in mind that youâre not changing the HTML document when you do things on the Console.