Clean • Professional
To start coding JavaScript, you need a few simple tools. No fancy setup required!
The Browser Console is a built-in tool in every modern browser (Chrome, Firefox, Safari) that lets you run JavaScript instantly—no installation required!
Think of it as a sandbox where you can test JavaScript code right away. It’s perfect for beginners to experiment and learn.
F12).Try It Yourself
Type the following and press Enter:
console.log("Hello, JavaScript!");
Try another fun example:
alert("Welcome to coding!");
Node.js lets you run JavaScript outside the browser, directly on your computer. This is useful for practicing, building apps, or writing server-side scripts.
Node.js turns your computer into a JavaScript powerhouse, allowing you to:
node -v
You should see the Node.js version, like v20.x.x.
Try It Yourself
Create a file named test.js with this code:
console.log("Hello from Node.js!");
Open your terminal, navigate to the folder containing test.js, and run:
node test.js
Visual Studio Code (VS Code) is a free and beginner-friendly code editor that makes writing JavaScript fun and easy.
script.js.Try It Yourself
Write this code in script.js:
let name = "Alex";
console.log("Hello, " + name + "!");
Save the file. Open the terminal in VS Code (Terminal → New Terminal) and run:
node script.jsÂ