How to write and execute javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write and execute javascript

I mean which software and compiling it

3rd Jan 2017, 9:13 AM
Çhandra_Şhekar
Çhandra_Şhekar - avatar
6 Answers
+ 7
Just put it in your HTML (no compiling software required).
3rd Jan 2017, 9:21 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
Yes. ~_~
3rd Jan 2017, 11:37 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Create a separate .js file and then link it with your html file through <script> tag. for eg. you have my.js file then in your html file write <script src="my.js"></script>
3rd Jan 2017, 9:37 AM
MISHRI PATEL
MISHRI PATEL - avatar
+ 1
Oh do I have to learn html first?
3rd Jan 2017, 11:36 AM
Çhandra_Şhekar
Çhandra_Şhekar - avatar
+ 1
You can use notepad or notepad++, textedit, sublime text, and all you have to do is save as . html You can use almost any text editer Sidenote: if you want to make a javascript file than just save it as .js and like it to your .html file...
5th Jan 2017, 10:10 AM
Ryan
0
thx all..I got it
5th Jan 2017, 10:38 AM
Çhandra_Şhekar
Çhandra_Şhekar - avatar