Setting Up Your Environment
To start writing JavaScript, all you need is a web browser and a text editor.
- Install VS Code — a free, open-source code editor.
- Open a terminal in VS Code.
- Create a new file called
index.js. - Run it with
node index.js.