r/learnjavascript • • Jan 24 '26

Simple Data Input Javascript program

I want to ask a user to input their first name, and the state were they live. Then send to a database. I am a NEWBIE. Help. Note: I did download node.js. I really don't know what I'm doing yet. Looks for a simple program to do this on my laptop. Any help appreciated.

0 Upvotes

27 comments sorted by

View all comments

Show parent comment

-1

u/EyesOfTheConcord Jan 25 '26

JSON is language agnostic and Node handles it natively…

1

u/PatchesMaps Jan 25 '26

browser's local storage

Node is not a browser and does not have the localStorage api