+ 4
Does SoloLearn Playground not support the HTML5 webstorage API?
Do I have put an import statement? It would help if you would give me a sample code of the webstorage api(if it is supported by the playground). Thank you for your help.
7 Respuestas
+ 8
The Web Storage API works on Code Playground when you're on desktop, but not in the mobile app.
+ 4
The mobile app is not enable localstorage feature thus it cannot work on mobile app.
It's disable by the app setting
settings.setDomStorageEnabled(false);
Only sololearn dev can enable it.
+ 2
Sololearn playground does support the HTML5 webstorage API.
+ 2
As Hatsey Rei pointed out, it DOES NOT work on the mobile app, not for me atleast. I now use the website. Thank you to everyone who took the time to answer this question.
+ 1
Is this what you're looking for?
https://code.sololearn.com/W3M2RmtJM80j/#html
0
Hatsy Rei for me at least, Web Storage works on the app too.