Create a Web page named until.html that calculates and displays the amount of time remaining until a
Question:
Create a Web page named until.html that calculates and displays the amount of time remaining until a specified date and time. The page should have a text box where the user can enter a date and time in the format "Month Day, Year hour:minutes:seconds". For example, noon on January 1, 2020 would be represented by the string "Jan 1, 2020 12:00:00". Note that times are represented using a 24 hour clock, so one second before midnight would be "Dec 31, 2019 23:59:59". When a button is subsequently clicked, a function should be called to determine the amount of time remaining until the user's date and time. The function will have to perform the following steps:
1. Access the date entered in the text box.
2. Call the TimeUntil function (from time.js) with that date as input.
3. Display the resulting time interval in a page division.
Figure 9.14 shows an example of what your page might look like.
Step by Step Answer: