[ad_1]
I want to create a form to ask passengers in an airport their first and sur name plus their weight and their cargo weight. then press the submit button to receive their information in a line. In other word to combine it this way: passenger first name+ passenger sur name+ total weight( including their own weight and the cargo weight). this way I can make the inserted information appear on a line and keep track of the total weight.
this was the scenario,
I grabbed enough knowledge in html and CSS to create a form, but I don’t know how to store passengers information and turn them in a sentence and above all, calculate total weight, I have learnt about JS functions, event as well as objects and operators. I tried different times to combine all I have learnt, but I returned empty handed.
I would be glad if anyone could help me figure it out WITH PRIMARY KNOWLEGED IN JavaScript. The knowledge I specified above.
[ad_2]