Question: Fill in the blanks in the below code according to the comments / / Add Dependencies const http = / / Create a server object
Fill in the blanks in the below code according to the comments
Add Dependencies
const http
Create a server object that will respond to any request with a string const server
reply with the statement 'Welcome to Nodejs
;
The server will listen on port
server. listen function
; console. the server is listening on port ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
