Wilhem Button
Star Wars Text Based Game
Drawing App
QR for Text Based Game
Whack the Mole
Calculator
Questions for Mobile Lab 5
What variables are being used? inputOne, inputTwo, firstInput, operation, calcText
How does “parseInt()” help with the code? It converts numbers into strings so they can be combined or added to other strings.
What events are already specified? What needs to be added? Button click for 1 and 2 already existed, as well as the addition and equal key. The remaining numbers (3-9,0) and remaining orders of operations (-,*,/) still needed to be added.
element table
Element | Default Event | Records | Data type | Max/Min |
Button | On click | text on botton | Boolean | N/A |
Text Input | On input | records what is input | string | N/A |
Label | On input | label | string | N/A |
Dropdown Menu | On change | Text within "options" | string | N/A |
Radio Button | on change | text next to botton | Boolean | N/A |
Checkbox | on change | text next to checkbox | Boolean | N/A |
Image | on input | Image file | string | N/A |
Canvas | on input | Canvas file | string | Max/Min |
Screen | on click | Images | string | N/A |
Text Area | on input | Text | string | N/A |
Chart | on input | Visual | string | N/A |
Slider | on change | Options | string | Max/Min |