Why VS Code?
VS Code is the most popular editor for JavaScript development. It has built-in JavaScript support, a huge extension ecosystem, and an integrated terminal where you’ll run your code. If you’re already using VS Code for Python, you just need a few extra extensions.Essential extensions
Install these two extensions from the VS Code Extensions panel (Ctrl+Shift+X / Cmd+Shift+X):
1
ESLint
Catches JavaScript errors and enforces code style as you type. It underlines problems in red and yellow so you can fix them before running your code.Search for: ESLint by Microsoft
2
Prettier
Automatically formats your code on save — consistent indentation, quotes, semicolons, line breaks. No more arguing about code style.Search for: Prettier - Code formatter by Prettier
Keyboard shortcuts worth knowing
You don’t need to memorize these now. Come back to this list when you’re writing more code.What’s next?
Your editor is ready. Let’s create your first JavaScript file and run it.Your first JavaScript file
Create and run your first JavaScript program