We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad71f64 commit 228a4b3Copy full SHA for 228a4b3
u/signup.html
@@ -70,7 +70,7 @@
70
if (!/^(?=.*[A-Z]).{0,}$/.test(password)) problms.push("Password must contain an UPPERCASE letter.");
71
if (!/^(?=.*\d).{0,}$/.test(password)) problms.push("Password must contain a numb3r.");
72
73
- statusElement.textContent = "Password doesn't meet requirements!\n"+problms.join("\n");
+ statusElement.innerHTML = "Password doesn't meet requirements!<br>"+problms.join("<br>");
74
75
document.getElementById("password").style.borderColor = "red";
76
return;
0 commit comments