0
FIND THE MISTAKE IN MY CODE"FIND THE MISTAKE".
WHO FIND MISTAKE?
8 Answers
+ 2
well the code doesnt make sense but I will say that:
-when comparing two things use == not =
-the way you used the switch statement is wrong you need to just relearn it
-you defined the value of n1 before the variable was asigned?
0
please check my code un the name of "Find the mistake in this code".
0
I checked.
When i can use switch?
How i can with click on "click"(sumbit),it value grater?
0
How is my another codes?
0
you are using the right syntax for it now but it will always use the default case as lang is 'USA' and none of the cases are made for that.
Im not sure what you mean by the click thing but you can add a onclick="functionName ()" in any html tag and it will run the js function when you click it.
0
no.example if you click on "click" increase the click value of a unit.
0
all right.so i corect select a syntax (for switch)
0
i dont know what the uefi1607 variable is for but it doesnt actually do anything in the code. what the switch does is test each case with lang (in switch brackets) and if none of the cases equal lang then the default case is ran which is what happens here. The click thing is done how i said if im understanding it right