I can't catch the value of my input when I load window using JavaScript DOM
I have to save the data from a form in locaStorage when I load the window. The problem is that when I use the "load" event, I cant catch the value of the input, gives me null. And if I…