Edit:
Did read through the lines so now I understand. So your 50 merits are a promise.
I don't think someone will help you for 50 merits because you are unlikely to get 50 sendable merits. Instead,
maybe they will do it for free without expecting anything.
I would help you, however your code looks like a mess and I don't have time now to make sense of everything.
I don't even understand what you're trying to accomplish because you're not clear.
Instead, for programming I would go for stack overflow. Make sure you formulate the question correctly so we can understand
what you need. For now, your code just looks like some homework to me. From what I can see you're having basic syntax errors.
If you don't know what that is, you're more likely to be a student than an employee.
Edit2:
I believe there are many logic errors. I assume you don't understand your code in full and it's possibly not your.
var max2 = document.getElementById('max3').value;
Why are you getting max3 value and assign it to max2 here? Shouldn't you get max2?
There are potentially more errors. The only way you can get good at coding is by overcoming these obstacles.
Oh I just fixed that error thank you.I want make calculator which will sum salary from this and also it should sum services Max3+Max2+Mobilni=Total.
Max3 package=450$,Max2=150$,Mobilni=100$.This is example of salary and services how it should sum both things Max3=1(3),1=package,(3=number of services),Max2=1(2),1=package(2=number of services),Mobilni=1(1=number of services)=Max3+Max2+Mobilni=1(3)+1(2)+1(1)=result should be 700(6) but if there is services less then 39 then it should write 3000 only without number of services.
1 Max3 package have always 3 services,1 Max2 package have always 2 services and Mobile always have 1 services.