29 lines
956 B
HTML
29 lines
956 B
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Second Javascript</title>
|
|
<link rel="stylesheet" href="assets/css/02.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h2>Login</h2>
|
|
<label for="username">Benutzername</label>
|
|
<input type="text" name="userName" id="username" placeholder="Jonny">
|
|
<br><br>
|
|
<label for="password">Passwort</label>
|
|
<div>
|
|
<input type="password" id="togglePasswordBtn" class="passField" name="passWord" placeholder="Password">
|
|
<button class="icon"> 👁 </button><br><br>
|
|
</div>
|
|
<button id="togglePasswordBtn" onclick="togglePassword()">Passwort anzeigen/ausblenden</button><br>
|
|
<button id="togglePasswordBtn2">Passwort anzeigen/ausblenden</button>
|
|
|
|
</div>
|
|
|
|
|
|
<script src="assets/js/scripts.js"></script>
|
|
|
|
</body>
|
|
</html> |