Check the documentation for other browsers on how to access the console in those browsers.
Shown below is some simple HTML code that can be used to interact with the browser console:
<h1 id ="title" onclick="console.log('hello');">
The console will log ‘hello’ each time the <h1> element is clicked.
In the above example, look at the code