Storing Data Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Storing Data Problem

I'm making a survey. What would be best to store data: session storage, local storage, cookies or database? And how can I access/use them??? (I code using JavaScript)

3rd Dec 2017, 11:48 AM
Sidox
1 Answer
+ 1
I think I would use a SQL database to store the information. You can get JavaScript to play with SQL using a driver, and you can learn more about using SQL on SoloLearn! https://www.w3schools.com/nodejs/nodejs_mysql.asp
3rd Dec 2017, 2:29 PM
Adam Schmitt
Adam Schmitt - avatar