mirror of
https://github.com/anthonyaxenov/password-generator.git
synced 2024-12-02 01:42:02 +00:00
51 lines
2.0 KiB
HTML
51 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Password Generator</title>
|
|
<link rel="stylesheet" href="css/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h2 class="title">Password Generator</h2>
|
|
<div class="result">
|
|
<div class="result__title field-title">Generated Password</div>
|
|
<div class="result__info right">click to copy</div>
|
|
<div class="result__info left">copied</div>
|
|
<div class="result__viewbox" id="result">-</div>
|
|
</div>
|
|
<button class="btn generate" id="generate">Generate Password</button>
|
|
<div class="length range__slider" data-min="4" data-max="32">
|
|
<div class="length__title field-title" data-length='0'>length:</div>
|
|
<input id="slider" type="range" min="4" max="32" value="16" />
|
|
</div>
|
|
<div class="settings">
|
|
<span class="settings__title field-title">settings</span>
|
|
<div class="setting">
|
|
<input type="checkbox" id="uppercase" checked />
|
|
<label for="uppercase">Include Uppercase (A-Z)</label>
|
|
</div>
|
|
<div class="setting">
|
|
<input type="checkbox" id="lowercase" checked />
|
|
<label for="lowercase">Include Lowercase (a-z)</label>
|
|
</div>
|
|
<div class="setting">
|
|
<input type="checkbox" id="number" checked />
|
|
<label for="number">Include Numbers (0-9)</label>
|
|
</div>
|
|
<div class="setting">
|
|
<input type="checkbox" id="symbol" />
|
|
<label for="symbol">Include Symbols</label>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<a href="https://github.com/anthonyaxenov/password-generator">GitHub</a> | <a href="https://axenov.dev">axenov.dev</a>
|
|
</div>
|
|
</div>
|
|
<script src="js/script.js"></script>
|
|
</body>
|
|
|
|
</html>
|