How to save user input data permanently into an array or any similar method. Data shouldn't be deleted after closing. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to save user input data permanently into an array or any similar method. Data shouldn't be deleted after closing.

30th Jul 2017, 10:00 AM
Mashan Shaluka1
Mashan Shaluka1 - avatar
2 Answers
+ 5
You can use Angular JavaScript, that's how @Burey does it.
30th Jul 2017, 10:37 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
You can use Local Storage or cookies, with either of them you can store data in user's browser: https://www.w3schools.com/html/html5_webstorage.asp https://www.w3schools.com/js/js_cookies.asp or save them in databases, firebase etc.
30th Jul 2017, 10:02 AM
Yumi Chen
Yumi Chen - avatar