My goal is to write an interactive website that looks like this: What is the probability you will die by elephant trampling? 1. Enter your location: _______ [if Africa, India or zoo, program adds +30 percent. all others +0] 2. Do you ever interact with elephants while trying to make them angry? person clicks Y / N [if yes + 30, if no +0] 3. Do you ever take naps in a place where elephants roam? person clicks y/n [if yes +30, if no+0] 4. Have you been told by a fortune teller you'll die by elephant trampling? person clicks y/n [if yes +10, if no +0] User hits submit, and website "calculates" percent probability. This is silly, but an example of what I'd like to write-- for a variety of more complex subjects. Anyone know where I could learn about this kind of code? Thanks!