Edit This Code:
See Result »
Select your favorite fruit:
Apple
Orange
Pineapple
Banana
Click the button to return the value of the selected fruit.
Try it
Result: