Jump to content
Sonalk

JS ToDo List that saves on server

Recommended Posts

Hello, I'm trying to make a to-do list that saves the entries on the server/in the cloud so the same added items can be viewed on different devices. I researched a bit on LocalStorage but I realized it's just local, obviously. 

So how do I make it so my site stores the added items on the server? 

Edited by Sonalk
Bug fixes

Share this post


Link to post
Share on other sites
27 minutes ago, justsomeguy said:

Use a server-side language and a database.

Is it hard transforming the page I did into a server sided language with a database?

Share this post


Link to post
Share on other sites

I don't know, I don't know what you did.  It's pretty basic as far as programming goes, though.  You can use ajax to send requests to the server with the data you want to save, and use ajax to read the data from the server and do whatever you want with it.  On the server you either just get the data and save it, or read it and output it.  Relative to programming, it's about as basic as it gets.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...