Can anyone tell me what is the problem with my code?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone tell me what is the problem with my code??

There is no output coming for this code. I don't know what the error or problem is. https://code.sololearn.com/WI98ur6CmVMq/?ref=app

12th Feb 2019, 1:54 PM
JEET DHOLAKIA
JEET DHOLAKIA - avatar
5 Answers
+ 1
https://code.sololearn.com/WI98ur6CmVMq/?ref=app Finally, I have solved this problem myself only. Thank You all for your support !!! Solved!!! 👍
14th Feb 2019, 5:52 AM
JEET DHOLAKIA
JEET DHOLAKIA - avatar
0
I'm not sure about the error but I've made your code shorter. https://code.sololearn.com/W4V796XRUo67/?ref=app
12th Feb 2019, 3:01 PM
Chig Bungus
Chig Bungus - avatar
0
Big Mungus Here in the output, there is coming " the word frm is not defined" but frm is my form's name so I want to solve that error why it is not giving proper output.
12th Feb 2019, 3:50 PM
JEET DHOLAKIA
JEET DHOLAKIA - avatar
0
With this code: var pwd1=frm.password1 You are trying to assign "frm.password1" to a variable. However, "frm" is the name of the <form> and it has no value. "password1" also has no value because the user hasn't entered a password yet. I don't know much about JavaScript so I could be wrong.
12th Feb 2019, 4:24 PM
Chig Bungus
Chig Bungus - avatar
0
Oh..yes I have to remove var from my code..... Thank You So much ..... I got my mistake Big Mungus
13th Feb 2019, 8:47 AM
JEET DHOLAKIA
JEET DHOLAKIA - avatar