T3A06-Variables-by-Abhay.html
Version 1.8.29
T3A06-Variables-Abhay.html
You Fix: Good reference to Variables in Javascript
and other languages
Other Languages use: bool, int, float, char, string,
int_8, int_16 etc
Note: Javascript does use var and let for local variables.
For Global variables Mr. Ellis prefers to use document.myVarName
Example input output code
let myIn01 = document.getElementById('myText01').value
document.getElementById('myDiv01').innerHTML = myIn01
Example working code
...
What's your favourite color?
Do you like my favourite color?
What's your favourite number?
...