Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see the output of console.log()?

Tags:

javascript

I am using this code:

<script type = "text/javascript">
 console.log("hello world");
</script>

How can I see the output of console.log()?

I searched on Google but did not find a solution.

like image 996
Php Php Avatar asked Nov 21 '12 09:11

Php Php


People also ask

How do I view the console log in edge?

To open the developer console in Microsoft Edge, open the Edge Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools. You can also press CTRL + Shift + i to open it. The console will either open up within your existing Edge window, or in a new window.


1 Answers

You can open the error console, depending on your browser. (Ctrl+Shift+J in Firefox, or F12 in Chrome, for example). Most browsers have the console hidden in their developer tools.

like image 157
looper Avatar answered Oct 02 '22 13:10

looper