Programming Code Center(PCC)
[JS]

(PCC)::[How-to-Writing-JavaScript-code-into-the-browser-console]::[js]

File Name : index.html

<!DOCTYPE html>
<html>
<body>

<h2>Activate Debugging</h2>

<p>F12 on your keybord will activate debugging.</p>
<p>Then select "Console" in the debugger menu.</p>
<p>Then click Run again.</p>

<script>
console.log(5 + 6);
</script>

</body>
</html> 

Output :

Activate Debugging

F12 on your keybord will activate debugging.

Then select "Console" in the debugger menu.

Then click Run again.