NodeJS / NodeJS Program to display output in Terminal

Program Name

Write a NodeJS Program to display output in Terminal.
Theory
NodeJS Program to display output in Terminal.
Program Code


Input
No Inputs.
Output
Display the Output in the console only'
Compiling and Running
1. Open terminal and change the drive to code folder.
2. compiling: node  helloworld.js
3. Running: open browser and type
http://localhost:8080/
4. See the output in Terminal.


Home     Back