title: when using javascript how do you use select form to do if else statements?
body: <p>How do you take a value of an option in a select form and use it for a if else statement?</p>
  
  <p>for example if apple is selected as an option then write to the document how to make applesauce but orange is selected then write how to make orange?</p>
  
  <p>so far I have a basic form and select options and I know how to do the document.write but I dont know how to use a select form with if else</p>
  
  <p>thanks for the help</p>