For each of the elements, drag it onto your screen and answer the following questions: What values does it record? (e.g. True/False, numbers). If numeric, what is the max/min value?
|A.Element |||B.Default Event |||C.Records |||D.Data type |||E.Max/Min ||
|A.Dropdown Menu||B.On Change||C.Choice of Options||D.string||E.N/A|
|A.Text Input||B.On Change||C.Text Inputted||D.String||E.N/A|
|A.Button||B.Click||C.Clicks on Button||D. String||E. N/A|
|A.Radio Button||B.On Change||C. Clicks on Button||D. String||E.N/A|
|A. Checkbox||B.On Change||C. Clicks on Checkbox||D. String||E. N/A|
|A.Image||B.Click||C.Clicks on Image||D. String||E. N/A|
|A.Canvas||B.Click||C. Clicks on Canvas||D. string||E. N/a|
|A.Screen||B.Click, Key||C. Clicks on screen/keys pressed||D. String||E. N/A|
|A. Text area||B. Change||C. Keys Pressed with characters||D. String||E. N/A|
|A.Chart||B.Drawchart, drawchartfromrecords||C.data inputted into chart||D.String||E. N/A|
|A.Slider||B.Input||C. data from slider movement||D. String||E. N/A|
The link "Homepage" goes to the index/homepage of my website. Homepage.
The link "About Me" will goto my About me page of my wensite. About me
The link "Scratch Projects" will goto my page with my scratch projects. Scratch Projects
The link "Python Projects" will goto my page with all of my python projects. Python Projects
The link "Web Dev Page #1" will goto my page with the HTML Lab #1 questions & tasks. Web Dev Page #1
The link "Web Dev Page #2" will goto my page with the HTML Lab #2 questions & tasks. Web Dev Page #2
The link "Mobile Dev Page" will goto my page with the Mobile Labs & completed tasks. Mobile Dev Page
To learn more HTML/CSS, check out these tutorials!
This app is the first mobile lab app I made
This app has a canvas that you can draw on
This app I made is a whack-a-mole type game
1.What variables are being used?
Variables are being used to store data & strings that are inputted. These variables are then used to add and subtract & divide & multiply the inputted data to equal a number.
var inputOne = ""; var inputTwo = ""; var firstInput = true; var operation = ""; var calcText = ""; var value1 = parseInt(inputOne); var value2 = parseInt(inputTwo); var result; var finalCalcText = getText("calculatorScreen") + " = " + result;
2.How does “parseInt()” help with the code? “parseint()” is used to evaluate a variable, which contains a string which was inputted by the user.
3.What events are already specified? What needs to be added? The addition button, 1 button, 2 button, equals button and clear buttons are all events that have been specified. Numbers 0, 3, 4, 5, 6, 7, 8, 9, need to be added as well as the subtraction button and division and multiply buttons.