33 lines
760 B
HTML
33 lines
760 B
HTML
<html lang="en" data-bs-theme="dark">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Toggle Password Visibility</title>
|
|
<script src="toggle-password-visibility.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<form>
|
|
<div>
|
|
<label for="username">Username</label>
|
|
<input type="text" name="username" id="username">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="password">Password</label>
|
|
<input type="password" name="password" id="password">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="show-password">
|
|
<input type="checkbox" name="show-passwords" id="show-password">
|
|
Show password
|
|
</label>
|
|
</div>
|
|
|
|
<p>
|
|
<button type="submit">Log In</button>
|
|
</p>
|
|
</form>
|
|
</body>
|
|
</html>
|