Create a JavaScript program that takes the entered start date (mm/dd/yyyy) from user input, selects a city from a dropdown box, provides a checkbox for selecting cars with set mileage on gas, allows user input of gas price, and uses a selected radio button to indicate the start time. When entered, the program calculates the estimated date and time the user will arrive at their destination.
Enter the price of fuel per gallon. Calculate the total cost. Calculate the estimated time of arrival.
Week no.
Assommiem
10/4/2021
JavaScript Objects
Dernonsola
of the following topics: JavaScript:
Gas Mileage Consumption
[un/ddlx
Class Objects and Constructors (parameters) JavaScript Basics (Decline)
Ddinndict
Mop-dovi
San Francisco 500 miles Vegas 330 miles Los Angeles 120 miles
he ntnt < ctip estaleinents Ecressor proneries (Getter and Setter) Constructor Functions
Hce
Vehicle
Amays
Destination; Vehicle Type: Selected Travel Standard Mileage
Compact
113 miles/Gallon
Station Wagon
26 miles/Gallon
of fuel per gallon
nDuI
Total cost of fuel
(entire trip)
Wave
Distance Rate
start
Option Button
9.00 Option Button 10.00 Option Button 11.00 Option Button 12.00 Option Button Option Button Option Button 3.00 Option Button Option Button 5.00 Option Button
ETA
Calculate
Date & Time
price price Diesel