Please tell why dis code is not work as i expected | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Please tell why dis code is not work as i expected

https://code.sololearn.com/WIB5mxB29Y8J/?ref=app

11th Sep 2022, 10:29 PM
Cindy K Hink
Cindy K Hink - avatar
5 Answers
+ 1
In line 7 you need to use '==' instead of '='. The single equal sign means assignment while a double equal sign means equality of value and a triple equal sign means equality of value and type.
12th Sep 2022, 3:16 AM
ODLNT
ODLNT - avatar
0
Remove .innerHTML from the second line in js file
11th Sep 2022, 10:42 PM
AhmedRamadan
AhmedRamadan - avatar
0
I want it to open Google home page if the input value is equal Balance but its not working so,instead is printing the else's statement
11th Sep 2022, 10:56 PM
Cindy K Hink
Cindy K Hink - avatar
0
Also DOM is not suported in this compiler
11th Sep 2022, 11:41 PM
AhmedRamadan
AhmedRamadan - avatar