+ 7
Whats wrong with this code?
https://code.sololearn.com/<WvkbH5TClxTR> ??????
7 Answers
+ 8
Roel Thanks a kot roel!!! i didnt know that! Thanks!
+ 5
Rafey Iqbal Rahman i deleted the code... because it solved. the <WvkbH5TClxTR> Is The Code's Url
+ 3
The problem is that you called your onclick function inside the window.onload function that doesn't allow functions to occur
this code might help you understand your problem better
https://code.sololearn.com/WMShlA8Wg4jW/?ref=app
+ 2
Since there's no input provided in the code, hence the result is "No output."
+ 2
Jingga Sona you're welcome, I hope it will help you in the future
+ 2
btw what also works is just deleting the window.onload function and copy the javascript between <script> tags to make sure the HTML is loaded before the javascript is executed
+ 2
Jingga Sona nevermind.