0
Why doesn't this code work?
i developed a login and register page in JavaScript. if we register with a certain Id and password, it doesn't work while login. the register function is not able to store the password in the variable. https://code.sololearn.com/W07MlwMgYLYY/?ref=app
2 Answers
+ 2
I guess it has to do with what happens when Sololearn detects a form submit.
Instead of handling a submission request, why not get the value inputted in the textfield?
0
i didn't understand the last line you said,
and i didn't make this code in sololearn, i made it on my Linux machine, and it won't work in a normal browser, the same way it won't work in sololearn