I was wondering with function parameters could you use something like a prompt to insert a value directly into the function instead of making a var. To make it clear I will make a demonstration So if I set function MyFunction(a,b) could I insert a value into a or b with a prompt or something else, without doing "(MyFunction(20,40))". So the user can submit the information without going into the code itself to submit it. I am sorry if I did not make my point clear I am trying to understand everything with functions. Thank you for helping and if you don't understand what I am trying to ask that is my fault not yours :).