Question: In the file taska.js , create, * Nodejs web server with Express that listens on port 8 0 8 1 . THe server should handle
In the file taska.js create, Nodejs web server with Express that listens on port THe server should handle the phone URL. Write a handler that handles the phone route where it can be followed by a number; for instance, phone Parameterize the phone number so that a sevendigit or tendigit phone number can be used by the single handler and route. Return a string containing the HTML tag, the text "You rang number I where number is the phone number. Use the web browser to enter the URL and number. For instance, enter localhost: phone in the search bar entering dashes is optional
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
