+ 10

[URGENT] if you click on a link, why does “Syntax Error” show?

In the Code Playground if you click on a link, why does “Syntax Error” show? Thank you in advance

24th Jun 2020, 8:39 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
10 Respostas
+ 2
The page reloaded and probaly exited your page . Thats how it works. (the page reloads if you go into the control center, and go off the app) Wait, it runs the code if you send a link that is a existing code with errors that should say null is not a object because it is in the sololearn website. (shows warnings too) Then, it would run that link on the sololearn website but only shows output of link then errors some stuff for buttons then results Syntax Error! I think you need a server to prevent that,
25th Jun 2020, 2:32 PM
Sali65
Sali65 - avatar
+ 5
AJ Anant moses https://code.sololearn.com/WjeQsUNg3i22/?ref=app (basically any code with <a href=“https://example.com”>Text</a>
24th Jun 2020, 9:11 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 5
moses if you liked it you can upvote
24th Jun 2020, 9:42 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 5
Abhay moses AJ Anant every link also i had the same mistake here: https://code.sololearn.com/WwyRTP4O4737/?ref=app
24th Jun 2020, 10:16 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 2
Which link you are talking about? On which link you get Syntax Error? There is just a type error I see which is caused because script is loaded before body
24th Jun 2020, 10:03 PM
Abhay
Abhay - avatar
+ 1
i tried it and it worked and by the way i liked the code i had a similar idea!
24th Jun 2020, 9:18 PM
moses
moses - avatar
+ 1
cool then
24th Jun 2020, 9:42 PM
moses
moses - avatar
+ 1
ok
24th Jun 2020, 9:43 PM
moses
moses - avatar
0
please show us a link to your code so that we can have an idea of what you are talking about.
24th Jun 2020, 9:09 PM
moses
moses - avatar