
Step-1: First you have to run the program via node command (You can stop the program via C t r l dash C).
Step-2: Use browser to request U R L and port.
Note: every time you make a change to your Node source file, you will have to stop the program and rerun it.
The terminal is a black rectangular window that consists of three lines of code.
Line 1: dollar.
Line 2: dollar node hello dot j s.
Line 3: Server running at port equals 8080.
The browser is placed at the bottom right of the terminal. The address bar reads, localhost colon 8080. The browser consists of a line of text that reads, "Hello this is our first node dot j s application".
Back