hi, i need help with my coding here... the code works fine... i just need it so that the characters the user types in will be displayed as '*' instead of the actual character, this is only to protect one page...
- Code: Select all
<!--
var password = "password"
var x = prompt("Enter in the password "," ")
if (x.toLowerCase() == password) {
alert("Password correct \n \n Click OK to proceed")
location = "diary/diary.html"
}
else {
location = "incorrect.html"
}
//-->