123456789101112131415161718192021222324 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="./style.css">
- <title>Document</title>
- </head>
- <body>
-
- <script>
- function Password(parent, open = true){
-
- this.inputPassword = document.createElement("input");
- parent.append(this.inputPassword);
- this.inputPassword.placeholder = 'password';
-
- this.checkbox = document.createElement("input");
- parent.append(this.inputPassword);
- this.checkbox.type = 'checked';
- }
- </script>
- </body>
- </html>
|