1st -Create two html pages. The first page is the order entry page (call it [url removed, login to view]) where user information such as name, phone #, address, and quantity of pizza’s to order is collected. Do not worry about any input validation here, which is not the point of this exercise. It also has an order button (not a submit button as it’ll then try to submit to a page) that opens up a popup window when the user clicks on it (call it [url removed, login to view]).
The popup window is an order confirmation page that displays:
“You have ordered n # of pizzas. You will receive a call shortly at phone #”.
Display two buttons under the message: Confirm Order and Cancel.
If Cancel is clicked, close the popup, otherwise write “Order submitted” on the order entry window and close the popup.
Hint: Make use of the opener property when on the popup to get the values from the input window.
Hint: Write a JS function in the input window that displays the message when invoked from the popup.
Do not simply write the code, give detailed comments on why you did what to support your coding style.