The calculator script allows you to calculate the cost of delivery of parcels depending on the country of departure, destination country, weight and dimensions of the parcel.
========== Calculator form fields
Country of departure-selected via the drop-down list. The country can be either fixed or selected from the list. Does not affect the calculation.
Destination country-selected from the drop-down list. Each country has 3 conditional tariffs (M, L, XL), determined depending on the weight of the parcel. The rates are set in the html code.
There are 25 countries and 75 tariffs.
Package weight-entered in kg. and affects the total cost of delivery. The entered weight falls into one of the 3 cost ranges that can be adjusted in the settings.
Tariffs:
up to 2 kg. - tariff M;
from 2 to 10 kg. - tariff L;
from 10 to 30 kg. - tariff XL;
30 or more – large cargo. Please contact the property for more details.
The dimensions of the parcel-length, width, height-are not included in the calculation.
========== Uses
html, css, javascript
========== Files
● index.html -calculator form (startup file).
● script.js -calculator scripts.
● style. css-calculator styles.
No feedback yet