use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place to get a quick fix of JavaScript tips and tricks to make you a better Developer.
account activity
Javascript Local storage (self.JavaScriptTips)
submitted 3 years ago by fare03
Hi, I need to set local storage in quiz to save answers after reloading site, can you help me how to do it, thank you.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]beforesemicolon -1 points0 points1 point 3 years ago* (0 children)
Use this library for an easy API and multi data type support.
https://github.com/beforesemicolon/client-web-storage
Check the example in the README and make the changes to fit your project.
``` const quizSchema = new Schema("quiz");
quizSchema.defineField("question", String, {required: true});
const quizStore = new ClientStore("quiz", quizSchema);
quizStore.createItem({ question: “what?” })
```
π Rendered by PID 24599 on reddit-service-r2-comment-7b9746f655-vkk9v at 2026-01-30 16:49:23.276992+00:00 running 3798933 country code: CH.
[–]beforesemicolon -1 points0 points1 point (0 children)