How would you save any user input to an HTML document using input fields and a button? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How would you save any user input to an HTML document using input fields and a button?

I have 3 input fields and one button. I can add the relevant information but my input is not saved/added to my html document. If I refresh the page, I lose everything.

22nd Sep 2020, 9:00 AM
Anthony Uglietti
2 Answers
+ 3
Add some encryption with Js
22nd Sep 2020, 9:03 AM
Cyber Nate
Cyber Nate - avatar
+ 2
Use javascript cookies or php session if you are a beginner then I advise you to learn javascript
22nd Sep 2020, 9:23 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar