Ask coding questions

← Back to all posts
Could somebody please make a version of this that updates scores automatically through cookies?
ChipSlayer (0)

I am willing to do the input stuff with html so that people can put in their usernames and passwords. However, I don't know how to use cookies or do anything backend, and I want to learn. I figured having someone work with me on the backend stuff would help teach me.

Coder100 (19277)
  1. cookies aren't backend, sure they can interact with backend but they aren't strictly backend.
  2. i recommend using localstorage instead, it's easier to think about.

localstorage overview:
cookies overview:

ChipSlayer (0)

@Coder100 ok. Thanks. I'll look into that. Do cookies require a server? I was learning how to use them on w3schools, but nothing I made worked on any of the files I created on my device. If I were to use an online editor like replit then it probably would have worked.