I\'m currently trying to calculate a cost using javascript I have created a function to calculate the total cost and an event added to a button to call the function at the m