Mobile Development
| ELEMENT |
DEFAULT ELEMENT |
RECORDS |
DATA TYPE |
MAX/MIN |
| Button |
"Click" |
N/A |
N/A |
N/A |
| Text Input |
"Change" or "Input" |
enter text |
string |
N/A |
| Label |
"Click" |
N/A |
N/A |
N/A |
| Dropdown Menu |
"On Change" |
Text with "options" |
string |
N/A |
| Radio Button |
"Change" |
True/False |
boolean |
N/A |
| Checkbox |
"Change" |
Checked/Unchecked |
boolean |
N/A |
| Image |
"Click" |
N/A |
N/A |
N/A |
| Canvas |
"Click" |
N/A |
N/A |
N/A |
| Screen |
"Click" or "Key" |
N/A |
N/A |
N/A |
| Text Area |
"Change" |
enter text |
string |
N/A |
| Chart |
"drawChart" or "drawChartFromRecords" |
N/A |
N/A |
N/A |
| Slider |
"Input" |
Value |
number |
0-100 default |
Scan the QR code to play my Text Adventure on your mobile device
Calculator
- What variables are being used?
The variables set are inputOne, inputTwo, firstInput, operation, and calcText. Input one and two are used to store the values entered that want to be added, subtracted, etc.
- How does “parseInt()” help with the code?
This turns strings of numbers that are considered words into values that can have operations applied to them.
- What events are already specified? What needs to be added?
The events of pressing the "1", "2", "+", "=", and "Clear" have already been specified. All the other numbers, 3-9 and 0, need to be added as well as the other operations (-, *, /).