0
In javascript is i was ginna set a var. Can it be "var one = five * (5);" or would it take it as a number and fail to execute
trying to put all three of my money counters in one page but im haveing trouble with it executing the code and i have doudle checked everything and compared it to my original still seems to fail though https://code.sololearn.com/WKbfjH4PkDV1/?ref=app
4 Answers
+ 3
no variables names doesn't mean anything
0
You could do
var one = 5 * 5;
You canāt write the number as a word
0
no the five in the math is a var fron another code coming from a text input im asking if the word one after var is picked up as a number 1
0
lol i found out what was wrong i didnt complete the code all the way for the retrieve i tested a function halfway with input data not be displayed but taken in i will have the code posted later as ii have to style it with css