Improvement of the JavaScript calculator
1 . We need to refine a small calculator.
Make a selection by cities with minimum tariffs. We will provide a list of cities
Instead of "city 1", "city 2", "city 3", there were city names.
To do this, you need to form a table with the names of all cities and minimum tariffs and enter them in the calculator, so that the delivery amount is displayed correctly when you click the "Calculate" button for a weight of 30 kg. Round trip fares may vary.
2. Refinement of a small calculator in the sidebar.
As in the first task, it is necessary to make a selection by city, only when you clicked the "Calculate" button, a page with the name of the city from the line "From" was opened.
You want to pass the parameter to the calculator on the send to the city from page.
27.01.2022 20:52