Lab 5
Questions
What variables are being used?
- The variables are inputOne, inputTwo, firstInput, operation, calcText, result, value1, and value2.
How does “parseInt()” help with the code?
- It takes the string and returns it as a number.
What events are already specified? What needs to be added?
- The events that are already specified are when buttons 1,2,+,and = are clicked. I needed to add code for when all the other buttons are clicked and what should happen when they are.