0

How do I use my browser to practice JavaScript?

Some one said that I could practice in my browsers developer console, but I don't know how to access it?

16th May 2017, 2:25 PM
KingCodesalot
KingCodesalot - avatar
6 Answers
+ 3
You can just use a compiler like netbeans to write the code, save it as am html file and open it from your browser to see the results. You could really use anything for writing the code in, as long as it has the correct extention. If you meant practice right from the browser, then right click -> inspect element. (mac) Or use firebug. But it's better to save your work somewhere.
16th May 2017, 2:36 PM
Rrestoring faith
Rrestoring faith - avatar
+ 2
in chrome shortcut ctrl + shift + i in any browser right click > view source > go to console tab
16th May 2017, 2:37 PM
MR Programmer
MR Programmer - avatar
+ 1
If you want to practise on your computer: You should use code editor to make some sample code of HTML, CSS and Javascript. Use HTML to link with CSS and Javascript. Once the code ready, double click the HTML file, it should then open on your default browser. Another way to test your code is: Use code playground to practise coding. Browser developer console is a debugging tool, you can use it to test your code, but it's not advisable to write code direct from there.
16th May 2017, 2:41 PM
CalviŐČ
CalviŐČ - avatar
+ 1
open ur browser and press F12 or Right Click -> Inspect Element. This will open up Deverloper Window then navigate to Console tab.In this window u can type simple JavaScript and see the results. Other option is create .html file with JavaScript,open it on browser. U can use Deverloper Window to debug your code. OR use SoloLearn CodePlayground​. useful links: https://developer.mozilla.org/en/docs/Tools/Browser_Console https://developers.google.com/web/tools/chrome-devtools/console/ https://msdn.microsoft.com/en-us/library/gg589500(v=vs.85).aspx
16th May 2017, 3:24 PM
Eranga
Eranga - avatar
0
Simple. Create a html document and open in your browser.
16th May 2017, 2:33 PM
Jorge Clésio
Jorge Clésio - avatar
0
Fire fox you do to the three lines and go to the dev part
16th May 2017, 5:08 PM
kellen
kellen - avatar