0

Pasted code not working in Web code

Recently with the update, I notice that when I try to paste my code into SoloLearn, it doesn't work but when I paste it into another website, it works. Is this a bug?

16th Mar 2018, 11:42 AM
Mioz
Mioz - avatar
6 Réponses
+ 7
There are lots of invisible characters in your CSS and Javascript(open the code link in a web browser and see). Remove them and your issue should be fixed.
16th Mar 2018, 12:27 PM
Lord Krishna
Lord Krishna - avatar
+ 4
Not necessarily there may be some invisible characters which may cause issues running the code. Include your code so we may check. or paste that pasted code(from codeplayground) in below site it will display invisible characters. https://www.soscisurvey.de/tools/view-chars.php
16th Mar 2018, 11:57 AM
Lord Krishna
Lord Krishna - avatar
+ 1
Thank you! Turns out, SoloLearn wasn't the problem but my Memo app keeps turning the tab space into invisible characters.
16th Mar 2018, 12:43 PM
Mioz
Mioz - avatar
0
What does CR and LF mean?
16th Mar 2018, 12:03 PM
Mioz
Mioz - avatar
0
Here's my code, still doesn't run when I paste it into the code playground https://code.sololearn.com/W2910vVwTeWC/?ref=app
16th Mar 2018, 12:16 PM
Mioz
Mioz - avatar