0
Can someone please help me with forms?
So I was trying to create a test page of sign-up the log-in. the info was to be stored in variables and compare the info to the info in the log-in page. I can't get it to work, I need help with the submit button. Should I use another method instead of the submit button? https://code.sololearn.com/WlCrtvqtmQql/?ref=app
2 odpowiedzi
+ 1
What is create line 12?
Missing semicolons in many lines.
Forgot to index body (body[0]) on line 10.
+ 1
It's nice what you are trying to do, but in real life you would simply this by creating a second page.
You also could create a second <div> and set it invisible. When sending your credentials set your registration <div> to invisible and the login <div> to visible.