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?
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.
+ 2
in chrome
shortcut
ctrl + shift + i
in any browser
right click > view source > go to console tab
+ 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.
+ 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
0
Simple.
Create a html document and open in your browser.
0
Fire fox you do to the three lines and go to the dev part