Hello, world!

The Programiz Workspace
The left side of the web app is the
code editorThis is where the programmer would write/edit their code
RunbuttonThis is where the programmer would ask the web application to run the program
OutputsectionThis is where the JavaScript program would output any message that the program is meant to
This area is called the
console
The JavaScript Code
console.log("Hello, world!");console.log() is a function in JavaScript used to print messages to the web console.
It’s a very handy tool for debugging and testing your code.
When you use console.log(), it outputs the specified message or variable value to the console, which you can view in your browser’s developer tools.
Last updated