+ 2
Why does it print the whole code?
When ever I make a new project in the code playground, it coppies itself to HTML and prints the whole code with the output! I can delete the code from the HTML section but it always comes back. Please help!
9 odpowiedzi
+ 20
Code example?
+ 19
Move your code from HTML tab to JS tab and clear the HTML tab.
+ 3
Is this on the app or the web?
If app, clear the cache / reinstall? (As long as you've registered / remember your login it should keep your codes)
If web, what browser are you using? Cleared its cache, restart the browser?
+ 3
Try coming at the code this way (it should open in the app)...and it looks fine for me in the app:
https://code.sololearn.com/Wz54ZH2L6cpr/?ref=app
+ 3
And, now the JS contents are indeed duplicated in the HTML contents (they weren't, before).
I tried saving in my own apps after deleting the HTML contents and nothing obvious changed (implying it's not intrinsic to the code but something about your zone of influence).
Note, the problem is not apparent with your first code, where the HTML tab is blank:
https://code.sololearn.com/W7PlAvj7cw8L/?ref=app
Assuming everything's the latest version, I'd file feedback / a bug report with SoloLearn and submit screenshots when they ask you.
0
That is what I do and It always comes back
0
Neither of those worked
0
The code may look fine, but the output prints the whole thing