+ 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!

13th Aug 2017, 9:14 PM
Joe Hannah
Joe Hannah - avatar
9 Antworten
+ 20
Code example?
13th Aug 2017, 9:38 PM
Igor Makarsky
Igor Makarsky - avatar
+ 19
Move your code from HTML tab to JS tab and clear the HTML tab.
13th Aug 2017, 9:44 PM
Igor Makarsky
Igor Makarsky - avatar
+ 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?
13th Aug 2017, 10:59 PM
Kirk Schafer
Kirk Schafer - avatar
+ 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
13th Aug 2017, 11:41 PM
Kirk Schafer
Kirk Schafer - avatar
+ 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.
14th Aug 2017, 12:29 AM
Kirk Schafer
Kirk Schafer - avatar
0
That is what I do and It always comes back
13th Aug 2017, 9:57 PM
Joe Hannah
Joe Hannah - avatar
0
Neither of those worked
13th Aug 2017, 11:38 PM
Joe Hannah
Joe Hannah - avatar
0
The code may look fine, but the output prints the whole thing
13th Aug 2017, 11:49 PM
Joe Hannah
Joe Hannah - avatar