0

What's the problem?

Please tell the error. I am trying to make a program that match Password. I want that if user type the same password again then show the response. If the password is blank then show error. https://code.sololearn.com/Wmb10QBEJ34w/?ref=app

15th Jan 2022, 7:41 AM
Jaspreet Singh
Jaspreet Singh - avatar
2 odpowiedzi
+ 2
// try this pcheck= () => { //function pcheck() {
15th Jan 2022, 8:21 AM
SoloProg
SoloProg - avatar
0
other way: put all script in js or html document.getElementById("b1").onclick = pcheck; -script-code-/script- And I also want to know ​why Jaspreet Singh's code doesn't work?
15th Jan 2022, 8:41 AM
FanYu
FanYu - avatar