I need help with HTML and Javascript...?

ziggyiguana

New member
I am creating a website with ingredients. Based on what the viewer selects, I want it to calculate the amount of ingredients. I want two drop down lists and a standard list of ingredients. When you select 10X from the dropdown, I want those ingredients multiplied by 10, when you select 2 Liters from the other dropdown, I want those ingredients doubled (and so on and so forth). I am having trouble finding a JavaScript and HTML that does this. Yes I have gone to all of the main websites with coding and no I haven't figured out how to do it myself. A simple one will do, I can usually figure out the rest if you know of a simple premade one and can give me a link or copy and paste it.
 
Back
Top