How do I add values of check boxes together when calculating them? For example, if I have a checkbox labeled hairstyle and the value of that is $125, and another check box is labeled "Makeup" with a price of $300, how would I be able to add those two together when I calculate them? I have four check boxes.
Hairstyle = $125
Makeup = $300
Makeover = $400
Manicure = $35
How would I set my coding to add ANY of those together when they're clicked? What if Hairstyle is clicked, and then Manicure? I am writing this for school and am stuck.
Please help!
Hairstyle = $125
Makeup = $300
Makeover = $400
Manicure = $35
How would I set my coding to add ANY of those together when they're clicked? What if Hairstyle is clicked, and then Manicure? I am writing this for school and am stuck.
Please help!