+ 2
I have a doubt that when we upload JavaScript code in the js editor then why js is not working in sololearn.
25 Respostas
+ 10
You may find the answer in this post (only accessible by app)
https://www.sololearn.com/post/90825/?ref=app
+ 7
Code is working as you gave alert and also operators working properly.
What else you think missing?
+ 6
CHIRAG RAJ It will work
Share your code
+ 6
Simple steps need to follow to check whether code is working or not
1) Analyse code
2) After execution of code check whether you got expected output or not?
3) If no then again check your code it can be logic, input everything you need to check.
4) If you done all the steps
But still if you face issue explain with description.
+ 5
Hi CHIRAG RAJ ! If you’re all set, that’s fantastic.
If you or anyone else are still having issues, please send a video/screencapture of the problem in to info@sololearn.com so we can continue to investigate!
+ 4
Hussain N Bahlool please don't hijack another thread, that's not fair nor nice.
Start your own. I'll help you:
Subject: "Java Switch Problem"
Tags: Java, switch statement
Description: The following code is not working:
**Attach code from code playground**
+ 3
In all other places my code is working fine but issue is there only in sololearn
+ 3
Yes Uncaught error let me check again if the issue repeats .
May be it's bug
+ 3
CHIRAG RAJ I just added a window.onload function which executes your js code as soon as the webpage finishes loading.
+ 3
Thanks Ipang
+ 2
I also have same issue
Please help.
+ 2
It is working because I have added all js code in the script tag under HTML CODE
+ 2
But when I write JavaScript code in the js editor, which is provided by sololearn then the js code doesn't work
+ 2
Okay
+ 2
Thakur Samar Thanku so much for helping me
+ 2
Thakur Samar can you explain me how you did this.
+ 2
Ok, but why it's required here in sololearn. in the other ide it works fine without adding onload function