0
Notes app
I know Sololearn doesn't support localStorage. Please help in this code https://code.sololearn.com/W3oAyW1FSqJW/?ref=app
3 Réponses
+ 2
Which kind of help do you need?
+ 2
In Sololearn you will not be able to save the application state between independent runs of the code. Every time the code is executed in a new blank sandbox context.
The only possible persistence option is if you can save the data in an external database, such as Firebase, but this is not recommended because there is no secure way to store your database login credentials, and you can easily surpass free storage or ingress limits with a cloud provider.
Ultimately you can host your whole application on another cloud platform and make a web code in SL to just embed your site.
For LocalStorage, I don't have a solution.
+ 1
Lisa After adding notes it adds in a paragraph but after I refresh the page it doesn't remains in the paragraph . and for every notes I want to add in different paragraph.