How install javascript in my computer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How install javascript in my computer?

18th Nov 2018, 11:33 AM
Alessandro Velasco
Alessandro Velasco - avatar
12 Answers
+ 10
What does the JUMP_LINK__&&__Python__&&__JUMP_LINK say? No but It can be used without a hassle
20th Nov 2018, 7:08 AM
Vishnu
Vishnu - avatar
+ 12
Alessandro javascript is usually already available to you through the browser. If you want to use javascript from the terminal you should think about installing nodejs. Good luck.
18th Nov 2018, 11:41 AM
Richard Myatt
Richard Myatt - avatar
+ 9
Alessandro Velasco Vs Code , sublime text editor , notepad++, Vim recommend to use sublime text its light weight and powerfull.
20th Nov 2018, 5:54 AM
Vishnu
Vishnu - avatar
+ 4
Alessandro Velasco, as ifl has suggested, you can write javascrpt into a text file. Any text editor should work. A javascrpt file is usually given a .js extension to distinguish it as a javascrpt file. In the sololearn code playground you will also find that the third tab for Web codes is intended for your script (javascript). Hope that helps.
18th Nov 2018, 11:16 PM
Richard Myatt
Richard Myatt - avatar
+ 4
1. Use Notepad++ to write JS code 2. Run it using chrome
19th Nov 2018, 1:20 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
Alessandro Velasco You can just write some JavaScript in a text file and open that file in a browser to run it.
18th Nov 2018, 12:16 PM
ifl
ifl - avatar
+ 3
VicHu 👻 is sublime text free?
20th Nov 2018, 7:02 AM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 3
Alessandro Velasco Copia este código (o cualquier otro código simple) en Notepad++ y grábalo con la extensión html, por ejemplo Prueba1.html, luego abre dicho archivo html con Chrome. Para debuggearlo puedes abrir el Chrome development tools, para ello aprieta la tecla F12, luego define unos breakpoints en tu código de JavaScript y ejecuta el programa línea por línea con la tecla F11 <html> <head> <meta charset="utf-8"> <style> p { font-size: x-large; } </style> </head> <body> <p id="Hola">0</p> <button onclick= "Suma()">Suma 1</button> <script> function Suma(){ var valor=document.getElementById("Hola").innerText; valor = parseInt(valor); var nuevoValor = valor + 1; document.getElementById("Hola").innerText = nuevoValor; } </script> </body> </html>
4th Dec 2018, 8:07 PM
Eduardo Higuchi
Eduardo Higuchi - avatar
+ 2
Alessandro Velasco Atom is a good editor.
19th Nov 2018, 11:12 AM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 1
You don't install Javascript on you computer as long as you have a browser you can run your Javascript script
18th Nov 2018, 3:19 PM
Serge Muliri Sheria
Serge Muliri Sheria - avatar
+ 1
Do you know some editor for javascript?
18th Nov 2018, 9:43 PM
Alessandro Velasco
Alessandro Velasco - avatar
0
Basically you don't install Javascript on a computer, you can run it directly from you html page or create a .Js file and add it to you page once done open that page via a browser
27th Feb 2019, 2:58 PM
Serge Muliri Sheria
Serge Muliri Sheria - avatar