CREATE/ A html FILE. Password validation needs to be implemented. Follow the criteria to meet the password requirement. contain between 4 and 8 characters begin with a letter of the alphabet (upper or lowercase) contain at least one digit (0 - 9) contain at least one of the following special characters: dollar sign ($), percent sign (%), or pound sign (#) Display proper messages for each error. HERE IS A THE HTML: Password Challenger Enter a password in the box below. Your password must: contain between 4 and 8 characters begin with a letter of the alphabet (upper or lowercase) contain at least one digit (0 - 9) contain at least one of the following special characters: dollar sign ($), percent sign (%), or pound sign (#) Password entered:
CREATE/ A html FILE. Password validation needs to be implemented. Follow the
criteria to meet the password requirement.
contain between 4 and 8 characters
begin with a letter of the alphabet (upper or lowercase)
contain at least one digit (0 - 9)
contain at least one of the following special characters: dollar sign ($), percent sign (%),
or pound sign (#)
Display proper messages for each error.
HERE IS A THE HTML:
<html>
<head>
<title>Password Challenger</title>
</head>
<body>
<table width = 60% align = "center">
<tr>
<td>
<br />
<h3> Enter a password in the box below. Your password must:
<ul>
<li>contain between 4 and 8 characters</li>
<li>begin with a letter of the alphabet (upper or lowercase)</li>
<li>contain at least one digit (0 - 9)</li>
<li>contain at least one of the following special characters: dollar sign ($), percent sign (%), or pound sign (#)</li>
</ul>
<p>
<input type="password" name="user_pwrd" id="passwrd" size = ""/>
<input type ="button" value = "ok"/>
</p>
<span id="error_msg"> </span><br />
<p>
<br />
Password entered: <span id="show_word"> </span>
</p>
</td>
</tr>
</table>
</body>
</html>
Step by step
Solved in 4 steps with 2 images