7
al-m
6y

Err. I'm working on something this is a stupid question. But is there a way to save data and stuff without having to go into back end?

If not or if there is. What should I look into/learn to get it done without having to go too deep

Comments
  • 1
    With JavaScript you can save things to an external file, say a json file

    https://stackoverflow.com/q/...
  • 2
    Take a look at HTML5's Web Storage API: https://developer.mozilla.org/en-US...

    Allows you to save stuff on the client machine - no backend required at all!

    (however, it can be deleted by the user)
  • 1
    You can use web storage in most modern browsers.
    Or cookies if it’s small amount of data.

    If you need to actually reuse this data or store it permanently, look at connecting to a database of some kind, or saving files... if a very small project on your server.
  • 1
    These are all good. I'll look into it. Tho I should say it's just slightly above a to-do list tbh. It's just a html file I launch on my browser basically.

    Will these still help?
  • 0
    @al-m Depends on what you call "above a to-do list", but saving into a json or stocking into the web browser *should* enough
  • 1
    Frontend, backend, javascript rules 😂😂
Add Comment