Javascript with Visual Studio Code and Exe


#1

Hello,

I am a Javascript beginner and want to use VS Code as an Editor.
I can not find any tutorial or instruction of how to useJavaScript with VS Code. Does someone have a hint?

Can i make “.exe” files with Javascript or is it only possible to start the code with a browser.
Do I have to use node to start code without any browser?

Does Javascript code have always have to contain a html body?

<html>
<body>

Thanks very much for help.


#2

[quote=“abovetauceti, post:1, topic:303557, full:true”]
Hello,

I am a Javascript beginner and want to use VS Code as an Editor.
I can not find any tutorial or instruction of how to useJavaScript with VS Code. Does someone have a hint?[/quote]

Here’s some getting started info.


,exe files can’t be made using JavaScript. Browser or server-side code are what you do with JavaScript.

No.

No.


#3

Javascript (not related to Java, it just has a similar name) is a client-side scripting language. .exe files are compiled and provide their own run-time engine. Javascript uses a browser for the run-time engine.

If you want to make .exe files, then you need to learn C++ and use a compiler, or you can also use Adobe Air (but I think Air has been abandoned.)

V/r,

^ _ ^


#4
<off-topic>
Java is to Javascript as Pen is to Penguin.
</off-topic>

#5

Not at all off topic. Totes related.

V/r,

^ _ ^