Objective: Make an easy way to determine a resistor value given the color bands.
Problem: What is the easiest way that the user can enter the color bands?
Solution: The user can click on the colors, and they fill in an array of three blanks. When all the blanks are full, the answer is displayed.
See also: Standard resistor value calculator.