-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (27 loc) · 1.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Tag META define metadados sobre um documento HTML. Metadados são dados (informações) sobre dados -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Gerador de senhas">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="assets/Molho_de_Chaves.png" type="image/x-icon">
<title>Gerador de senha</title>
</head>
<body>
<img class="logo" src="./assets/logo.png" alt="Gerador senha logo"/>
<div class="container-input">
<span>Tamanho <span id="valor"></span> caracteres</span>
<input id="slider" class="slider" type="range" min="5" max="25" value="15"/>
<button id="button" class="button-cta" onclick="generatePassword()">Gerar senha</button>
</div>
<div id="container-password" onclick="copyPassword()" class="container-password hide">
<span class="title">Sua senha gerada foi:</span>
<span id="password" class="password">123456789</span>
<span class="tooltip">Clique na senha para copiar. 👆</span>
</div>
<script src="script.js"></script>
</body>
</html>