Hello everyone, I'm new to the forum and new to programming (my first semester in school), so if this the incorrect way to post or format my questions please let me know so that I can correct it in the future. I've been searching through the forums and over the internet for tutorials on something and haven't been able to find anything relevant.
I'm designing a web page, and it needs to include three drop-down menus. The problem I'm encountering is: that when an option in each of the menus is clicked, it needs to add a number (price) to a total comprised from all three menus and a base price. For example, the first menu is the price of a computer hard drive upgrade, and that price needs to be added (along with the price from the other menus) to the base computer price. The addition happens when you click a "Total Price" button, and then gets displayed, but I'm pretty sure I can figure that part out.
If someone could explain to me how to get the menu options to generate a number, or how to reference that number so it can be added, I'd really appreciate it.