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.
The Web Storage API works on Code Playground when you're on desktop, but not in the mobile app.
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.
Sololearn playground does support the HTML5 webstorage API.
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.
Is this what you're looking for? https://code.sololearn.com/W3M2RmtJM80j/#html
Hatsy Rei for me at least, Web Storage works on the app too.