Save Data Code For Website

I have a HTML website and what code would i use to make a search bar and what is imputed will save.

1 Like

You said you are making an HTML website, not a server, right?

If you want it to save, you could use localStorage, see the MDN guide here.

For the search bar, I can’t solve this without more context, why don’t you invite me to the website you’re working on.

1 Like