Indent code inside blocks with or spaces:
if (condition) {
console.log("Inside block")
doSomething()
}
Consistent indentation shows code structure at a glance. Most teams prefer spaces for JavaScript. Configure VS Code to insert spaces when you press Tab (Settings > Editor: Tab Size). Never mix tabs and spaces in the same project.