Just use Code runner extension after installing Node.JS.
Could use Live Server - Visual Studio Marketplace extension to serve the HTML file.
Head tag is needed for live server extension live reload even it's empty.
<head></head>
To open browser inside VS Code side by side with source HTML file, install the Browser Preview - Visual Studio Marketplace extension.
To debug when using the Browser Preview plugin(show console output), just use the VS Code debug tag and run Browser Preview: Attach after running live server.
ECMAScript (or ES) is a trademarked scripting-language specification standardized by Ecma International in ECMA-262 and ISO/IEC 16262. It was created to standardize JavaScript, so as to foster multiple independent implementations. JavaScript has remained the best-known implementation of ECMAScript since the standard was first published, with other well-known implementations including JScript and ActionScript. ECMAScript is commonly used for client-side scripting on the World Wide Web, and it is increasingly being used for writing server applications and services using Node.js.