+ 1
Why is the code showing error for localStorage used
2 Answers
+ 1
If you want to use web browser localstorage on your mobile device you should use the Sololearn website via your mobile browser. It shouldn't be a problem for most mobile browsers.
As far as your other question these should help.
https://code.sololearn.com/WcdoF4PGPyDC/#html
https://code.sololearn.com/WKn8Mq5DU052/#js
0
localStorage is not supported in sololearn playground.