mirror of
https://github.com/anthonyaxenov/password-generator.git
synced 2024-11-22 05:14:43 +00:00
55 lines
2.1 KiB
HTML
55 lines
2.1 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">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<h2 class="title">Generate Password</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">CLICK GENERATE</div>
|
|
<button id="copy-btn" style="--x: 0; --y: 0"><i class="far fa-copy"></i></button>
|
|
</div>
|
|
<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</label>
|
|
</div>
|
|
<div class="setting">
|
|
<input type="checkbox" id="lowercase" checked />
|
|
<label for="lowercase">Include Lowercase</label>
|
|
</div>
|
|
<div class="setting">
|
|
<input type="checkbox" id="number" checked />
|
|
<label for="number">Include Numbers</label>
|
|
</div>
|
|
<div class="setting">
|
|
<input type="checkbox" id="symbol" />
|
|
<label for="symbol">Include Symbols</label>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="btn generate" id="generate">Generate Password</button>
|
|
</div>
|
|
|
|
<script src="js/script.js"></script>
|
|
|
|
</body>
|
|
|
|
</html> |